com.itextpdf.awt.geom
Interface Shape

All Known Implementing Classes:
CubicCurve2D, CubicCurve2D.Double, CubicCurve2D.Float, GeneralPath, Line2D, Line2D.Double, Line2D.Float, QuadCurve2D, QuadCurve2D.Double, QuadCurve2D.Float, Rectangle, Rectangle2D, Rectangle2D.Double, Rectangle2D.Float, RectangularShape

public interface Shape

Shape


Method Summary
 boolean contains(double x, double y)
           
 boolean contains(double x, double y, double w, double h)
           
 boolean contains(Point2D point)
           
 boolean contains(Rectangle2D r)
           
 Rectangle getBounds()
           
 Rectangle2D getBounds2D()
           
 PathIterator getPathIterator(AffineTransform at)
           
 PathIterator getPathIterator(AffineTransform at, double flatness)
           
 boolean intersects(double x, double y, double w, double h)
           
 boolean intersects(Rectangle2D r)
           
 

Method Detail

contains

boolean contains(double x,
                 double y)

contains

boolean contains(double x,
                 double y,
                 double w,
                 double h)

contains

boolean contains(Point2D point)

contains

boolean contains(Rectangle2D r)

getBounds

Rectangle getBounds()

getBounds2D

Rectangle2D getBounds2D()

getPathIterator

PathIterator getPathIterator(AffineTransform at)

getPathIterator

PathIterator getPathIterator(AffineTransform at,
                             double flatness)

intersects

boolean intersects(double x,
                   double y,
                   double w,
                   double h)

intersects

boolean intersects(Rectangle2D r)


Copyright © 2013. All Rights Reserved.