All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.BezierPath

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.BezierPath

public class BezierPath
extends NativeObject
implements Coding
This class wraps the Objective-C class NSBezierPath.


Variable Index

 o BezierPathElementTypeClose
 o BezierPathElementTypeCurveTo
 o BezierPathElementTypeLineTo
 o BezierPathElementTypeMoveTo
 o LineCapStyleButt
 o LineCapStyleProjectingSquare
 o LineCapStyleRound
 o LineJoinStyleBevel
 o LineJoinStyleMiter
 o LineJoinStyleRound
 o WindingRuleEvenOdd
 o WindingRuleNonZero

Constructor Index

 o BezierPath()
This default constructor is equivalent to Objective-C's [[NSBezierPath alloc] init].
 o BezierPath(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o BezierPath(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Method Index

 o addClip()
A wrapper for the - addClip Objective-C instance method.
 o appendBezierPath(BezierPath)
A wrapper for the - appendBezierPath: Objective-C instance method.
 o appendBezierPathWithArcWithCenter(Point, float, float, float)
A wrapper for the - appendBezierPathWithArcWithCenter:radius:startAngle:endAngle: Objective-C instance method.
 o appendBezierPathWithGlyph(int, Font)
A wrapper for the - appendBezierPathWithGlyph:inFont: Objective-C instance method.
 o appendBezierPathWithOvalInRect(Rect)
A wrapper for the - appendBezierPathWithOvalInRect: Objective-C instance method.
 o appendBezierPathWithRect(Rect)
A wrapper for the - appendBezierPathWithRect: Objective-C instance method.
 o bezierPath()
A wrapper for the + bezierPath Objective-C class method.
 o bezierPathWithRect(Rect)
A wrapper for the + bezierPathWithRect: Objective-C class method.
 o bounds()
A wrapper for the - bounds Objective-C instance method.
 o cachesBezierPath()
A wrapper for the - cachesBezierPath Objective-C instance method.
 o clipRect(Rect)
A wrapper for the + clipRect: Objective-C class method.
 o closePath()
A wrapper for the - closePath Objective-C instance method.
 o controlPointBounds()
A wrapper for the - controlPointBounds Objective-C instance method.
 o currentPoint()
A wrapper for the - currentPoint Objective-C instance method.
 o curveToPoint(Point, Point, Point)
A wrapper for the - curveToPoint:controlPoint1:controlPoint2: Objective-C instance method.
 o elementCount()
A wrapper for the - elementCount Objective-C instance method.
 o elementTypeAtIndex(int)
A wrapper for the - elementTypeAtIndex: Objective-C instance method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o fill()
A wrapper for the - fill Objective-C instance method.
 o fillRect(Rect)
A wrapper for the + fillRect: Objective-C class method.
 o isHitByPath(BezierPath)
A wrapper for the - isHitByPath: Objective-C instance method.
 o isHitByPoint(Point)
A wrapper for the - isHitByPoint: Objective-C instance method.
 o isHitByRect(Rect)
A wrapper for the - isHitByRect: Objective-C instance method.
 o isStrokeHitByPath(BezierPath)
A wrapper for the - isStrokeHitByPath: Objective-C instance method.
 o isStrokeHitByPoint(Point)
A wrapper for the - isStrokeHitByPoint: Objective-C instance method.
 o isStrokeHitByRect(Rect)
A wrapper for the - isStrokeHitByRect: Objective-C instance method.
 o lineToPoint(Point)
A wrapper for the - lineToPoint: Objective-C instance method.
 o moveToPoint(Point)
A wrapper for the - moveToPoint: Objective-C instance method.
 o pathElementIndexForPointIndex(int)
A wrapper for the - pathElementIndexForPointIndex: Objective-C instance method.
 o pointAtIndex(int)
A wrapper for the - pointAtIndex: Objective-C instance method.
 o pointCount()
A wrapper for the - pointCount Objective-C instance method.
 o pointIndexForPathElementIndex(int)
A wrapper for the - pointIndexForPathElementIndex: Objective-C instance method.
 o relativeCurveToPoint(Point, Point, Point)
A wrapper for the - relativeCurveToPoint:controlPoint1:controlPoint2: Objective-C instance method.
 o relativeLineToPoint(Point)
A wrapper for the - relativeLineToPoint: Objective-C instance method.
 o relativeMoveToPoint(Point)
A wrapper for the - relativeMoveToPoint: Objective-C instance method.
 o removeLastElement()
A wrapper for the - removeLastElement Objective-C instance method.
 o reset()
A wrapper for the - reset Objective-C instance method.
 o setCachesBezierPath(boolean)
A wrapper for the - setCachesBezierPath: Objective-C instance method.
 o setClip()
A wrapper for the - setClip Objective-C instance method.
 o setFlatness(float)
A wrapper for the + setFlatness: Objective-C class method.
 o setHalftonePhase(Point)
A wrapper for the + setHalftonePhase: Objective-C class method.
 o setLineCapStyle(int)
A wrapper for the + setLineCapStyle: Objective-C class method.
 o setLineJoinStyle(int)
A wrapper for the + setLineJoinStyle: Objective-C class method.
 o setLineWidth(float)
A wrapper for the + setLineWidth: Objective-C class method.
 o setMiterLimit(float)
A wrapper for the + setMiterLimit: Objective-C class method.
 o setPointAtIndex(int, Point)
A wrapper for the - setPointAtIndex:toPoint: Objective-C instance method.
 o setWindingRule(int)
A wrapper for the - setWindingRule: Objective-C instance method.
 o stroke()
A wrapper for the - stroke Objective-C instance method.
 o strokeLineFromPoint(Point, Point)
A wrapper for the + strokeLineFromPoint:toPoint: Objective-C class method.
 o strokeRect(Rect)
A wrapper for the + strokeRect: Objective-C class method.
 o windingRule()
A wrapper for the - windingRule Objective-C instance method.

Variables

 o BezierPathElementTypeMoveTo
 public static final int BezierPathElementTypeMoveTo
 o BezierPathElementTypeLineTo
 public static final int BezierPathElementTypeLineTo
 o BezierPathElementTypeCurveTo
 public static final int BezierPathElementTypeCurveTo
 o BezierPathElementTypeClose
 public static final int BezierPathElementTypeClose
 o WindingRuleNonZero
 public static final int WindingRuleNonZero
 o WindingRuleEvenOdd
 public static final int WindingRuleEvenOdd
 o LineCapStyleButt
 public static final int LineCapStyleButt
 o LineCapStyleRound
 public static final int LineCapStyleRound
 o LineCapStyleProjectingSquare
 public static final int LineCapStyleProjectingSquare
 o LineJoinStyleMiter
 public static final int LineJoinStyleMiter
 o LineJoinStyleRound
 public static final int LineJoinStyleRound
 o LineJoinStyleBevel
 public static final int LineJoinStyleBevel

Constructors

 o BezierPath
 protected BezierPath(boolean shouldAllocate,
                      int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o BezierPath
 public BezierPath()
This default constructor is equivalent to Objective-C's [[NSBezierPath alloc] init].

 o BezierPath
 public BezierPath(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Methods

 o bezierPath
 public static native BezierPath bezierPath()
A wrapper for the + bezierPath Objective-C class method.

 o bezierPathWithRect
 public static native BezierPath bezierPathWithRect(Rect aRect)
A wrapper for the + bezierPathWithRect: Objective-C class method.

 o moveToPoint
 public native void moveToPoint(Point aPoint)
A wrapper for the - moveToPoint: Objective-C instance method.

 o lineToPoint
 public native void lineToPoint(Point aPoint)
A wrapper for the - lineToPoint: Objective-C instance method.

 o curveToPoint
 public native void curveToPoint(Point aPoint,
                                 Point controlPoint1,
                                 Point controlPoint2)
A wrapper for the - curveToPoint:controlPoint1:controlPoint2: Objective-C instance method.

 o closePath
 public native void closePath()
A wrapper for the - closePath Objective-C instance method.

 o reset
 public native void reset()
A wrapper for the - reset Objective-C instance method.

 o relativeMoveToPoint
 public native void relativeMoveToPoint(Point aPoint)
A wrapper for the - relativeMoveToPoint: Objective-C instance method.

 o relativeLineToPoint
 public native void relativeLineToPoint(Point aPoint)
A wrapper for the - relativeLineToPoint: Objective-C instance method.

 o relativeCurveToPoint
 public native void relativeCurveToPoint(Point aPoint,
                                         Point controlPoint1,
                                         Point controlPoint2)
A wrapper for the - relativeCurveToPoint:controlPoint1:controlPoint2: Objective-C instance method.

 o stroke
 public native void stroke()
A wrapper for the - stroke Objective-C instance method.

 o fill
 public native void fill()
A wrapper for the - fill Objective-C instance method.

 o addClip
 public native void addClip()
A wrapper for the - addClip Objective-C instance method.

 o setClip
 public native void setClip()
A wrapper for the - setClip Objective-C instance method.

 o windingRule
 public native int windingRule()
A wrapper for the - windingRule Objective-C instance method.

 o setWindingRule
 public native void setWindingRule(int aWindingRule)
A wrapper for the - setWindingRule: Objective-C instance method.

 o bounds
 public native Rect bounds()
A wrapper for the - bounds Objective-C instance method.

 o controlPointBounds
 public native Rect controlPointBounds()
A wrapper for the - controlPointBounds Objective-C instance method.

 o currentPoint
 public native Point currentPoint()
A wrapper for the - currentPoint Objective-C instance method.

 o isHitByPoint
 public native boolean isHitByPoint(Point aPoint)
A wrapper for the - isHitByPoint: Objective-C instance method.

 o isHitByRect
 public native boolean isHitByRect(Rect aRect)
A wrapper for the - isHitByRect: Objective-C instance method.

 o isHitByPath
 public native boolean isHitByPath(BezierPath aBezierPath)
A wrapper for the - isHitByPath: Objective-C instance method.

 o isStrokeHitByPoint
 public native boolean isStrokeHitByPoint(Point aPoint)
A wrapper for the - isStrokeHitByPoint: Objective-C instance method.

 o isStrokeHitByRect
 public native boolean isStrokeHitByRect(Rect aRect)
A wrapper for the - isStrokeHitByRect: Objective-C instance method.

 o isStrokeHitByPath
 public native boolean isStrokeHitByPath(BezierPath aBezierPath)
A wrapper for the - isStrokeHitByPath: Objective-C instance method.

 o cachesBezierPath
 public native boolean cachesBezierPath()
A wrapper for the - cachesBezierPath Objective-C instance method.

 o setCachesBezierPath
 public native void setCachesBezierPath(boolean flag)
A wrapper for the - setCachesBezierPath: Objective-C instance method.

 o elementCount
 public native int elementCount()
A wrapper for the - elementCount Objective-C instance method.

 o elementTypeAtIndex
 public native int elementTypeAtIndex(int index)
A wrapper for the - elementTypeAtIndex: Objective-C instance method.

 o removeLastElement
 public native void removeLastElement()
A wrapper for the - removeLastElement Objective-C instance method.

 o pointCount
 public native int pointCount()
A wrapper for the - pointCount Objective-C instance method.

 o pointAtIndex
 public native Point pointAtIndex(int index)
A wrapper for the - pointAtIndex: Objective-C instance method.

 o setPointAtIndex
 public native void setPointAtIndex(int index,
                                    Point aPoint)
A wrapper for the - setPointAtIndex:toPoint: Objective-C instance method.

 o pointIndexForPathElementIndex
 public native int pointIndexForPathElementIndex(int index)
A wrapper for the - pointIndexForPathElementIndex: Objective-C instance method.

 o pathElementIndexForPointIndex
 public native int pathElementIndexForPointIndex(int index)
A wrapper for the - pathElementIndexForPointIndex: Objective-C instance method.

 o appendBezierPath
 public native void appendBezierPath(BezierPath aPath)
A wrapper for the - appendBezierPath: Objective-C instance method.

 o appendBezierPathWithRect
 public native void appendBezierPathWithRect(Rect aRect)
A wrapper for the - appendBezierPathWithRect: Objective-C instance method.

 o appendBezierPathWithOvalInRect
 public native void appendBezierPathWithOvalInRect(Rect aRect)
A wrapper for the - appendBezierPathWithOvalInRect: Objective-C instance method.

 o appendBezierPathWithArcWithCenter
 public native void appendBezierPathWithArcWithCenter(Point center,
                                                      float radius,
                                                      float startAngle,
                                                      float endAngle)
A wrapper for the - appendBezierPathWithArcWithCenter:radius:startAngle:endAngle: Objective-C instance method.

 o appendBezierPathWithGlyph
 public native void appendBezierPathWithGlyph(int aGlyph,
                                              Font fontObj)
A wrapper for the - appendBezierPathWithGlyph:inFont: Objective-C instance method.

 o setLineCapStyle
 public static native void setLineCapStyle(int lineCap)
A wrapper for the + setLineCapStyle: Objective-C class method.

 o setLineJoinStyle
 public static native void setLineJoinStyle(int lineJoinStyle)
A wrapper for the + setLineJoinStyle: Objective-C class method.

 o setLineWidth
 public static native void setLineWidth(float width)
A wrapper for the + setLineWidth: Objective-C class method.

 o setMiterLimit
 public static native void setMiterLimit(float limit)
A wrapper for the + setMiterLimit: Objective-C class method.

 o setFlatness
 public static native void setFlatness(float flatness)
A wrapper for the + setFlatness: Objective-C class method.

 o setHalftonePhase
 public static native void setHalftonePhase(Point aPoint)
A wrapper for the + setHalftonePhase: Objective-C class method.

 o fillRect
 public static native void fillRect(Rect aRect)
A wrapper for the + fillRect: Objective-C class method.

 o strokeRect
 public static native void strokeRect(Rect aRect)
A wrapper for the + strokeRect: Objective-C class method.

 o clipRect
 public static native void clipRect(Rect aRect)
A wrapper for the + clipRect: Objective-C class method.

 o strokeLineFromPoint
 public static native void strokeLineFromPoint(Point point1,
                                               Point point2)
A wrapper for the + strokeLineFromPoint:toPoint: Objective-C class method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index