Class WPainterPath.Segment

java.lang.Object
eu.webtoolkit.jwt.WPainterPath.Segment
Enclosing class:
WPainterPath

public static class WPainterPath.Segment extends Object
A segment.
  • Method Details

    • getX

      public double getX()
      The x parameter

      Depending on the getType(), this is either the x position of the point, or something else.

    • getY

      public double getY()
      The y parameter

      Depending on the getType(), this is either the y position of the point, or something else.

    • getType

      public SegmentType getType()
      The type of the segment
    • equals

      public boolean equals(WPainterPath.Segment other)