Package org.eclipse.swt.internal.cocoa
Class NSBezierPath
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSBezierPath
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addClip()
void
appendBezierPath
(NSBezierPath path) void
appendBezierPathWithArcWithCenter
(NSPoint center, double radius, double startAngle, double endAngle) void
appendBezierPathWithArcWithCenter
(NSPoint center, double radius, double startAngle, double endAngle, boolean clockwise) void
appendBezierPathWithGlyphs
(long glyphs, long count, NSFont font) void
void
void
appendBezierPathWithRoundedRect
(NSRect rect, double xRadius, double yRadius) static NSBezierPath
static NSBezierPath
bezierPathWithRect
(NSRect rect) static NSBezierPath
bezierPathWithRoundedRect
(NSRect rect, double xRadius, double yRadius) bounds()
void
boolean
containsPoint
(NSPoint point) void
curveToPoint
(NSPoint endPoint, NSPoint controlPoint1, NSPoint controlPoint2) static double
long
elementAtIndex
(long index, long points) long
void
fill()
static void
boolean
isEmpty()
void
lineToPoint
(NSPoint point) void
moveToPoint
(NSPoint point) void
void
setClip()
static void
setDefaultFlatness
(double flatness) void
setLineCapStyle
(long lineCapStyle) void
setLineDash
(double[] pattern, long count, double phase) void
setLineJoinStyle
(long lineJoinStyle) void
setLineWidth
(double lineWidth) void
setMiterLimit
(double miterLimit) void
setWindingRule
(long windingRule) void
stroke()
static void
strokeRect
(NSRect rect) void
transformUsingAffineTransform
(NSAffineTransform transform) Methods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSBezierPath
public NSBezierPath() -
NSBezierPath
public NSBezierPath(long id) -
NSBezierPath
-
-
Method Details
-
addClip
public void addClip() -
appendBezierPath
-
appendBezierPathWithArcWithCenter
public void appendBezierPathWithArcWithCenter(NSPoint center, double radius, double startAngle, double endAngle) -
appendBezierPathWithArcWithCenter
public void appendBezierPathWithArcWithCenter(NSPoint center, double radius, double startAngle, double endAngle, boolean clockwise) -
appendBezierPathWithGlyphs
-
appendBezierPathWithOvalInRect
-
appendBezierPathWithRect
-
appendBezierPathWithRoundedRect
-
bezierPath
-
bezierPathByFlatteningPath
-
bezierPathWithRect
-
bezierPathWithRoundedRect
-
bounds
-
closePath
public void closePath() -
containsPoint
-
controlPointBounds
-
currentPoint
-
curveToPoint
-
defaultFlatness
public static double defaultFlatness() -
elementAtIndex
public long elementAtIndex(long index, long points) -
elementCount
public long elementCount() -
fill
public void fill() -
fillRect
-
isEmpty
public boolean isEmpty() -
lineToPoint
-
moveToPoint
-
removeAllPoints
public void removeAllPoints() -
setClip
public void setClip() -
setDefaultFlatness
public static void setDefaultFlatness(double flatness) -
setLineCapStyle
public void setLineCapStyle(long lineCapStyle) -
setLineDash
public void setLineDash(double[] pattern, long count, double phase) -
setLineJoinStyle
public void setLineJoinStyle(long lineJoinStyle) -
setLineWidth
public void setLineWidth(double lineWidth) -
setMiterLimit
public void setMiterLimit(double miterLimit) -
setWindingRule
public void setWindingRule(long windingRule) -
stroke
public void stroke() -
strokeRect
-
transformUsingAffineTransform
-