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 void
addClip()
void
appendBezierPath(NSBezierPath path)
void
appendBezierPathWithArcWithCenter(NSPoint center, double radius, double startAngle, double endAngle, boolean clockwise)
void
appendBezierPathWithGlyphs(long glyphs, long count, NSFont font)
void
appendBezierPathWithOvalInRect(NSRect rect)
void
appendBezierPathWithRect(NSRect rect)
void
appendBezierPathWithRoundedRect(NSRect rect, double xRadius, double yRadius)
static NSBezierPath
bezierPath()
NSBezierPath
bezierPathByFlatteningPath()
static NSBezierPath
bezierPathWithRect(NSRect rect)
static NSBezierPath
bezierPathWithRoundedRect(NSRect rect, double xRadius, double yRadius)
NSRect
bounds()
void
closePath()
boolean
containsPoint(NSPoint point)
NSRect
controlPointBounds()
NSPoint
currentPoint()
void
curveToPoint(NSPoint endPoint, NSPoint controlPoint1, NSPoint controlPoint2)
static double
defaultFlatness()
long
elementAtIndex(long index, long points)
long
elementCount()
void
fill()
static void
fillRect(NSRect rect)
boolean
isEmpty()
void
lineToPoint(NSPoint point)
void
moveToPoint(NSPoint point)
void
removeAllPoints()
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, 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)
-
-