Class ClipRenderEvent

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable

    public final class ClipRenderEvent
    extends PrimitiveRenderEvent
    This class encapsulates clipping information required for clip implementation in a device. Support for clipped areas is limited to polygons. In the future, it may be upgraded to support additional arbitrary shape definitions.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClipRenderEvent

        public ClipRenderEvent​(java.lang.Object oSource)
        The constructor.
    • Method Detail

      • getVertices

        public Location[] getVertices()
        Returns:
        Returns the vertices associated with a polygon.
      • setVertices

        public void setVertices​(Location[] loa)
        Sets the vertices of the clip.
        Parameters:
        loa - The vertices associated with the polygon area to be clipped
      • reset

        public void reset()
        Description copied from class: ChartEvent
        Resets the inner state of current event. This must be implemented if the object is cached and reused.
        Specified by:
        reset in class ChartEvent