Class WPainterPath.Segment

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

public static class WPainterPath.Segment
extends java.lang.Object
A segment.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  WPainterPath.Segment.Type
    The segment type
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(WPainterPath.Segment other)  
    WPainterPath.Segment.Type getType()
    The type of the segment
    double getX()
    The x parameter
    double getY()
    The y parameter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 WPainterPath.Segment.Type getType()
      The type of the segment
    • equals

      public boolean equals​(WPainterPath.Segment other)