Package snap.view

Class ArcView

All Implemented Interfaces:
PropChange.DoChange, XMLArchiver.Archivable

public class ArcView extends View
A view to show an Arc.
  • Field Details

  • Constructor Details

    • ArcView

      public ArcView()
      Creates a new ArcView.
    • ArcView

      public ArcView(double aX, double aY, double aW, double aH, double aSA, double aSW)
      Creates a new ArcView.
  • Method Details

    • getArc

      public Arc getArc()
      Returns the arc.
    • getStartAngle

      public double getStartAngle()
      Returns the start angle.
    • setStartAngle

      public void setStartAngle(double anAngle)
      Sets the start angle.
    • getSweepAngle

      public double getSweepAngle()
      Returns the sweep angle.
    • setSweepAngle

      public void setSweepAngle(double anAngle)
      Sets the sweep angle.
    • getBoundsShape

      public Arc getBoundsShape()
      Returns the bounds path.
      Overrides:
      getBoundsShape in class View
    • setWidth

      public void setWidth(double aValue)
      Override to reset arc.
      Overrides:
      setWidth in class View
    • setHeight

      public void setHeight(double aValue)
      Override to reset arc.
      Overrides:
      setHeight in class View