类 ArcShape

    • 构造器详细资料

      • ArcShape

        public ArcShape()
        Constructor
      • ArcShape

        public ArcShape​(double x,
                        double y,
                        double width,
                        double height)
        Constructor
        参数:
        x - Center x
        y - Center y
        width - Width
        height - Height
    • 方法详细资料

      • getStartAngle

        public float getStartAngle()
        Get start angle
        返回:
        Start angle
      • setStartAngle

        public void setStartAngle​(float value)
        Set start angle
        参数:
        value -
      • getSweepAngle

        public float getSweepAngle()
        Get sweep angle
        返回:
        Sweep angle
      • setSweepAngle

        public void setSweepAngle​(float value)
        Set sweep angle
        参数:
        value - Sweep angle
      • getExplode

        public float getExplode()
        Get explode
        返回:
        Explode
      • setExplode

        public void setExplode​(float value)
        Set explode
        参数:
        value - Explode
      • getWedgeWidth

        public Float getWedgeWidth()
        Get wedge width
        返回:
        Wedge width
      • setWedgeWidth

        public void setWedgeWidth​(Float value)
        Set wedge width
        参数:
        value - Wedge width
      • getClosure

        public int getClosure()
        Get closure type
        返回:
        Closure type
      • setClosure

        public void setClosure​(int value)
        Set closure type
        参数:
        value - Closure type
      • contains

        public boolean contains​(PointD p)
        If this shape contains a point
        覆盖:
        contains 在类中 EllipseShape
        参数:
        p - Point
        返回:
        Contains a point or not