Class NSBezierPath


  • public class NSBezierPath
    extends NSObject
    • 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)
      • bezierPathByFlatteningPath

        public NSBezierPath bezierPathByFlatteningPath()
      • 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)