Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jcckit.graphic
Interface ClippingShape

All Known Implementing Classes:
  ClippingRectangle

public interface ClippingShape

Defining a clipping shape applied to all `GraphicalElements` of a `GraphicalComposite`.

Author:
  Franz-Josef Elmer

Method Summary
`ClippingRectangle` | `getBoundingBox()` Returns the bounding box of this clipping shape.
`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.
`boolean` | `isInside(GraphPoint point)` Returns `true` if the specified point is inside this clipping shape.

Method Detail

### isInside

    public boolean isInside(GraphPoint point)

  Returns `true` if the specified point is inside this clipping shape.

### getBoundingBox

    public ClippingRectangle getBoundingBox()

  Returns the bounding box of this clipping shape. This method will be used by renderers who supports only rectangular clipping shapes.

### getGraphicalElement

    public 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD