public class NSBezierPath extends NSObject
| Constructor and Description |
|---|
NSBezierPath() |
NSBezierPath(id id) |
NSBezierPath(int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClip() |
void |
appendBezierPath(NSBezierPath path) |
void |
appendBezierPathWithArcWithCenter(NSPoint center,
float radius,
float startAngle,
float endAngle) |
void |
appendBezierPathWithArcWithCenter(NSPoint center,
float radius,
float startAngle,
float endAngle,
boolean clockwise) |
void |
appendBezierPathWithGlyphs(int glyphs,
int count,
NSFont font) |
void |
appendBezierPathWithOvalInRect(NSRect rect) |
void |
appendBezierPathWithRect(NSRect rect) |
void |
appendBezierPathWithRoundedRect(NSRect rect,
float xRadius,
float yRadius) |
static NSBezierPath |
bezierPath() |
NSBezierPath |
bezierPathByFlatteningPath() |
static NSBezierPath |
bezierPathWithRect(NSRect rect) |
NSRect |
bounds() |
void |
closePath() |
boolean |
containsPoint(NSPoint point) |
NSRect |
controlPointBounds() |
NSPoint |
currentPoint() |
void |
curveToPoint(NSPoint endPoint,
NSPoint controlPoint1,
NSPoint controlPoint2) |
static float |
defaultFlatness() |
int |
elementAtIndex(int index,
int points) |
int |
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(float flatness) |
void |
setLineCapStyle(int lineCapStyle) |
void |
setLineDash(float[] pattern,
int count,
float phase) |
void |
setLineJoinStyle(int lineJoinStyle) |
void |
setLineWidth(float lineWidth) |
void |
setMiterLimit(float miterLimit) |
void |
setWindingRule(int windingRule) |
void |
stroke() |
static void |
strokeRect(NSRect rect) |
void |
transformUsingAffineTransform(NSAffineTransform transform) |
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, dealloc, 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, writeSelectionToPasteboardequals, hashCode, objc_getClass, toStringpublic NSBezierPath()
public NSBezierPath(int id)
public NSBezierPath(id id)
public void addClip()
public void appendBezierPath(NSBezierPath path)
public void appendBezierPathWithArcWithCenter(NSPoint center, float radius, float startAngle, float endAngle)
public void appendBezierPathWithArcWithCenter(NSPoint center, float radius, float startAngle, float endAngle, boolean clockwise)
public void appendBezierPathWithGlyphs(int glyphs,
int count,
NSFont font)
public void appendBezierPathWithOvalInRect(NSRect rect)
public void appendBezierPathWithRect(NSRect rect)
public void appendBezierPathWithRoundedRect(NSRect rect, float xRadius, float yRadius)
public static NSBezierPath bezierPath()
public NSBezierPath bezierPathByFlatteningPath()
public static NSBezierPath bezierPathWithRect(NSRect rect)
public NSRect bounds()
public void closePath()
public boolean containsPoint(NSPoint point)
public NSRect controlPointBounds()
public NSPoint currentPoint()
public void curveToPoint(NSPoint endPoint, NSPoint controlPoint1, NSPoint controlPoint2)
public static float defaultFlatness()
public int elementAtIndex(int index,
int points)
public int elementCount()
public void fill()
public static void fillRect(NSRect rect)
public boolean isEmpty()
public void lineToPoint(NSPoint point)
public void moveToPoint(NSPoint point)
public void removeAllPoints()
public void setClip()
public static void setDefaultFlatness(float flatness)
public void setLineCapStyle(int lineCapStyle)
public void setLineDash(float[] pattern,
int count,
float phase)
public void setLineJoinStyle(int lineJoinStyle)
public void setLineWidth(float lineWidth)
public void setMiterLimit(float miterLimit)
public void setWindingRule(int windingRule)
public void stroke()
public static void strokeRect(NSRect rect)
public void transformUsingAffineTransform(NSAffineTransform transform)