Class ShadowLegacyPath

    • Field Detail

      • isSimplePath

        protected boolean isSimplePath
    • Constructor Detail

      • ShadowLegacyPath

        public ShadowLegacyPath()
    • Method Detail

      • __constructor__

        @Implementation
        protected void __constructor__​(Path path)
      • moveTo

        @Implementation
        protected void moveTo​(float x,
                              float y)
      • lineTo

        @Implementation
        protected void lineTo​(float x,
                              float y)
      • quadTo

        @Implementation
        protected void quadTo​(float x1,
                              float y1,
                              float x2,
                              float y2)
      • cubicTo

        @Implementation
        protected void cubicTo​(float x1,
                               float y1,
                               float x2,
                               float y2,
                               float x3,
                               float y3)
      • reset

        @Implementation
        protected void reset()
      • approximate

        @Implementation(minSdk=21)
        protected float[] approximate​(float acceptableError)
      • rewind

        @Implementation
        protected void rewind()
      • set

        @Implementation
        protected void set​(Path src)
      • op

        @Implementation(minSdk=19)
        protected boolean op​(Path path1,
                             Path path2,
                             Path.Op op)
      • isConvex

        @Implementation(minSdk=21)
        protected boolean isConvex()
      • getFillType

        @Implementation
        protected Path.FillType getFillType()
      • setFillType

        @Implementation
        protected void setFillType​(Path.FillType fillType)
      • isInverseFillType

        @Implementation
        protected boolean isInverseFillType()
      • toggleInverseFillType

        @Implementation
        protected void toggleInverseFillType()
      • isEmpty

        @Implementation
        protected boolean isEmpty()
      • isRect

        @Implementation
        protected boolean isRect​(RectF rect)
      • computeBounds

        @Implementation
        protected void computeBounds​(RectF bounds,
                                     boolean exact)
      • incReserve

        @Implementation
        protected void incReserve​(int extraPtCount)
      • rMoveTo

        @Implementation
        protected void rMoveTo​(float dx,
                               float dy)
      • rLineTo

        @Implementation
        protected void rLineTo​(float dx,
                               float dy)
      • rQuadTo

        @Implementation
        protected void rQuadTo​(float dx1,
                               float dy1,
                               float dx2,
                               float dy2)
      • rCubicTo

        @Implementation
        protected void rCubicTo​(float x1,
                                float y1,
                                float x2,
                                float y2,
                                float x3,
                                float y3)
      • arcTo

        @Implementation
        protected void arcTo​(RectF oval,
                             float startAngle,
                             float sweepAngle)
      • arcTo

        @Implementation
        protected void arcTo​(RectF oval,
                             float startAngle,
                             float sweepAngle,
                             boolean forceMoveTo)
      • arcTo

        @Implementation(minSdk=21)
        protected void arcTo​(float left,
                             float top,
                             float right,
                             float bottom,
                             float startAngle,
                             float sweepAngle,
                             boolean forceMoveTo)
      • close

        @Implementation
        protected void close()
      • addRect

        @Implementation
        protected void addRect​(float left,
                               float top,
                               float right,
                               float bottom,
                               Path.Direction dir)
      • addOval

        @Implementation(minSdk=21)
        protected void addOval​(float left,
                               float top,
                               float right,
                               float bottom,
                               Path.Direction dir)
      • addCircle

        @Implementation
        protected void addCircle​(float x,
                                 float y,
                                 float radius,
                                 Path.Direction dir)
      • addArc

        @Implementation(minSdk=21)
        protected void addArc​(float left,
                              float top,
                              float right,
                              float bottom,
                              float startAngle,
                              float sweepAngle)
      • addRoundRect

        @Implementation(minSdk=16)
        protected void addRoundRect​(RectF rect,
                                    float rx,
                                    float ry,
                                    Path.Direction dir)
      • addRoundRect

        @Implementation(minSdk=16)
        protected void addRoundRect​(RectF rect,
                                    float[] radii,
                                    Path.Direction dir)
      • addRoundRect

        @Implementation(minSdk=21)
        protected void addRoundRect​(float left,
                                    float top,
                                    float right,
                                    float bottom,
                                    float rx,
                                    float ry,
                                    Path.Direction dir)
      • addRoundRect

        @Implementation(minSdk=21)
        protected void addRoundRect​(float left,
                                    float top,
                                    float right,
                                    float bottom,
                                    float[] radii,
                                    Path.Direction dir)
      • addPath

        @Implementation
        protected void addPath​(Path src,
                               float dx,
                               float dy)
      • addPath

        @Implementation
        protected void addPath​(Path src)
      • addPath

        @Implementation
        protected void addPath​(Path src,
                               Matrix matrix)
      • offset

        @Implementation
        protected void offset​(float dx,
                              float dy,
                              Path dst)
      • offset

        @Implementation
        protected void offset​(float dx,
                              float dy)
      • setLastPoint

        @Implementation
        protected void setLastPoint​(float dx,
                                    float dy)
      • transform

        @Implementation
        protected void transform​(Matrix matrix,
                                 Path dst)
      • transform

        @Implementation
        protected void transform​(Matrix matrix)
      • fillBounds

        public void fillBounds​(RectF bounds)
        Fills the given RectF with the path bounds.
        Specified by:
        fillBounds in class ShadowPath
        Parameters:
        bounds - the RectF to be filled.