Interface ClippingShape

All Known Implementing Classes:
ClippingRectangle

public interface ClippingShape
Defining a clipping shape applied to all GraphicalElements of a GraphicalComposite.
  • Method Details

    • isInside

      boolean isInside(GraphPoint point)
      Returns true if the specified point is inside this clipping shape.
    • getBoundingBox

      ClippingRectangle getBoundingBox()
      Returns the bounding box of this clipping shape. This method will be used by renderers who supports only rectangular clipping shapes.
    • getGraphicalElement

      BasicGraphicalElement getGraphicalElement()
      Returns a basic graphical element (such as Rectangle or Polygon) which may be used by renderers to define the clipping shape for the output device.