Class BaseShape

java.lang.Object
ro.sync.exml.view.graphics.BaseShape
All Implemented Interfaces:
Shape
Direct Known Subclasses:
Circle, Ellipse, Polygon

@API(type=EXTENDABLE, src=PRIVATE) public abstract class BaseShape extends Object implements Shape
Base for shapes.
  • Constructor Details

    • BaseShape

      public BaseShape()
  • Method Details

    • contains

      public boolean contains(int x, int y, int w, int h)
      Description copied from interface: Shape
      Check if the specified coordinates are inside the shape.
      Specified by:
      contains in interface Shape
      Parameters:
      x - The horizontal coordinate.
      y - The vertical coordinate.
      w - The width.
      h - The height.
      Returns:
      true if the point is inside the shape. false otherwise.
      See Also: