Packages

 

com.aspose.psd.shapes

Class PieShape

  • Direct Known Subclasses:
    ArcShape


    public class PieShape
    extends EllipseShape

    Represents a pie shape.

    • Constructor Detail

      • PieShape

        public PieShape()

        Initializes a new instance of the PieShape class.

      • PieShape

        public PieShape(RectangleF rectangle,
                        float startAngle,
                        float sweepAngle)

        Initializes a new instance of the PieShape class.

        Parameters:
        rectangle - The rectangle.
        startAngle - The start angle.
        sweepAngle - The sweep angle.
    • Method Detail

      • getStartAngle

        public float getStartAngle()

        Gets or sets the start angle.

        Value: The start angle.
      • setStartAngle

        public void setStartAngle(float value)

        Gets or sets the start angle.

        Value: The start angle.
      • getSweepAngle

        public float getSweepAngle()

        Gets or sets the sweep angle.

        Value: The sweep angle.
      • setSweepAngle

        public void setSweepAngle(float value)

        Gets or sets the sweep angle.

        Value: The sweep angle.
      • getSegments

        public ShapeSegment[] getSegments()

        Gets the shape segments.

        Value: The shape segments.
        Overrides:
        getSegments in class EllipseShape
        Returns:
        The shape segments.