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 TypeMethodDescriptionvoidaddClip()voidappendBezierPath(NSBezierPath path) voidappendBezierPathWithArcWithCenter(NSPoint center, double radius, double startAngle, double endAngle) voidappendBezierPathWithArcWithCenter(NSPoint center, double radius, double startAngle, double endAngle, boolean clockwise) voidappendBezierPathWithGlyphs(long glyphs, long count, NSFont font) voidvoidvoidappendBezierPathWithRoundedRect(NSRect rect, double xRadius, double yRadius) static NSBezierPathstatic NSBezierPathbezierPathWithRect(NSRect rect) static NSBezierPathbezierPathWithRoundedRect(NSRect rect, double xRadius, double yRadius) bounds()voidbooleancontainsPoint(NSPoint point) voidcurveToPoint(NSPoint endPoint, NSPoint controlPoint1, NSPoint controlPoint2) static doublelongelementAtIndex(long index, long points) longvoidfill()static voidbooleanisEmpty()voidlineToPoint(NSPoint point) voidmoveToPoint(NSPoint point) voidvoidsetClip()static voidsetDefaultFlatness(double flatness) voidsetLineCapStyle(long lineCapStyle) voidsetLineDash(double[] pattern, long count, double phase) voidsetLineJoinStyle(long lineJoinStyle) voidsetLineWidth(double lineWidth) voidsetMiterLimit(double miterLimit) voidsetWindingRule(long windingRule) voidstroke()static voidstrokeRect(NSRect rect) voidtransformUsingAffineTransform(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, writeSelectionToPasteboardMethods 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
-