Class LineStringRenderer
java.lang.Object
com.kheops.jmap.client.graphics2D.LineStringRenderer
- All Implemented Interfaces:
Shape
A class used to render line strings as an AWT shape.
-
Constructor Summary
ConstructorsConstructorDescriptionLineStringRenderer(K2DTransform transform) Creates a new line string renderer using the specified transformation matrix. -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(double x, double y) booleancontains(double x, double y, double w, double h) booleanbooleangetPathIterator(AffineTransform at, double flatness) booleanintersects(double x, double y, double w, double h) booleanvoidsetLineString(LineString lineString) Sets the line string to be rendered.
-
Constructor Details
-
LineStringRenderer
Creates a new line string renderer using the specified transformation matrix.- Parameters:
transform- the transformation matrix to use.
-
-
Method Details
-
setLineString
Sets the line string to be rendered.- Parameters:
lineString- the line string to be rendered.
-
contains
public boolean contains(double x, double y) -
contains
public boolean contains(double x, double y, double w, double h) -
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersectsin interfaceShape
-
getBounds
-
contains
-
getBounds2D
- Specified by:
getBounds2Din interfaceShape
-
contains
-
intersects
- Specified by:
intersectsin interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-