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
-
public class NSBezierPath extends NSObject
-
-
Constructor Summary
Constructors Constructor Description NSBezierPath()NSBezierPath(long id)NSBezierPath(id id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddClip()voidappendBezierPath(NSBezierPath path)voidappendBezierPathWithArcWithCenter(NSPoint center, double radius, double startAngle, double endAngle, boolean clockwise)voidappendBezierPathWithGlyphs(long glyphs, long count, NSFont font)voidappendBezierPathWithOvalInRect(NSRect rect)voidappendBezierPathWithRect(NSRect rect)voidappendBezierPathWithRoundedRect(NSRect rect, double xRadius, double yRadius)static NSBezierPathbezierPath()NSBezierPathbezierPathByFlatteningPath()static NSBezierPathbezierPathWithRect(NSRect rect)static NSBezierPathbezierPathWithRoundedRect(NSRect rect, double xRadius, double yRadius)NSRectbounds()voidclosePath()booleancontainsPoint(NSPoint point)NSRectcontrolPointBounds()NSPointcurrentPoint()voidcurveToPoint(NSPoint endPoint, NSPoint controlPoint1, NSPoint controlPoint2)static doubledefaultFlatness()longelementAtIndex(long index, long points)longelementCount()voidfill()static voidfillRect(NSRect rect)booleanisEmpty()voidlineToPoint(NSPoint point)voidmoveToPoint(NSPoint point)voidremoveAllPoints()voidsetClip()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, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
-
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
-
-
-
Constructor Detail
-
NSBezierPath
public NSBezierPath()
-
NSBezierPath
public NSBezierPath(long id)
-
NSBezierPath
public NSBezierPath(id id)
-
-
Method Detail
-
addClip
public void addClip()
-
appendBezierPath
public void appendBezierPath(NSBezierPath path)
-
appendBezierPathWithArcWithCenter
public void appendBezierPathWithArcWithCenter(NSPoint center, double radius, double startAngle, double endAngle, boolean clockwise)
-
appendBezierPathWithGlyphs
public void appendBezierPathWithGlyphs(long glyphs, long count, NSFont font)
-
appendBezierPathWithOvalInRect
public void appendBezierPathWithOvalInRect(NSRect rect)
-
appendBezierPathWithRect
public void appendBezierPathWithRect(NSRect rect)
-
appendBezierPathWithRoundedRect
public void appendBezierPathWithRoundedRect(NSRect rect, double xRadius, double yRadius)
-
bezierPath
public static NSBezierPath bezierPath()
-
bezierPathByFlatteningPath
public NSBezierPath bezierPathByFlatteningPath()
-
bezierPathWithRect
public static NSBezierPath bezierPathWithRect(NSRect rect)
-
bezierPathWithRoundedRect
public static NSBezierPath bezierPathWithRoundedRect(NSRect rect, double xRadius, double yRadius)
-
bounds
public NSRect bounds()
-
closePath
public void closePath()
-
containsPoint
public boolean containsPoint(NSPoint point)
-
controlPointBounds
public NSRect controlPointBounds()
-
currentPoint
public NSPoint currentPoint()
-
curveToPoint
public void curveToPoint(NSPoint endPoint, NSPoint controlPoint1, NSPoint controlPoint2)
-
defaultFlatness
public static double defaultFlatness()
-
elementAtIndex
public long elementAtIndex(long index, long points)
-
elementCount
public long elementCount()
-
fill
public void fill()
-
fillRect
public static void fillRect(NSRect rect)
-
isEmpty
public boolean isEmpty()
-
lineToPoint
public void lineToPoint(NSPoint point)
-
moveToPoint
public void moveToPoint(NSPoint point)
-
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
public static void strokeRect(NSRect rect)
-
transformUsingAffineTransform
public void transformUsingAffineTransform(NSAffineTransform transform)
-
-