Package org.arakhne.afc.math.geometry.d2
Interface PathElement2D
-
- All Superinterfaces:
Cloneable
,Serializable
- All Known Subinterfaces:
PathElement2afp
,PathElement2ai
- All Known Implementing Classes:
PathElement2d
,PathElement2d.ArcPathElement2d
,PathElement2d.ClosePathElement2d
,PathElement2d.CurvePathElement2d
,PathElement2d.LinePathElement2d
,PathElement2d.MovePathElement2d
,PathElement2d.QuadPathElement2d
,PathElement2dfx
,PathElement2dfx.ArcPathElement2dfx
,PathElement2dfx.ClosePathElement2dfx
,PathElement2dfx.CurvePathElement2dfx
,PathElement2dfx.LinePathElement2dfx
,PathElement2dfx.MovePathElement2dfx
,PathElement2dfx.QuadPathElement2dfx
,PathElement2i
,PathElement2i.ArcPathElement2i
,PathElement2i.ClosePathElement2i
,PathElement2i.CurvePathElement2i
,PathElement2i.LinePathElement2i
,PathElement2i.MovePathElement2i
,PathElement2i.QuadPathElement2i
,PathElement2ifx
,PathElement2ifx.ArcPathElement2ifx
,PathElement2ifx.ClosePathElement2ifx
,PathElement2ifx.CurvePathElement2ifx
,PathElement2ifx.LinePathElement2ifx
,PathElement2ifx.MovePathElement2ifx
,PathElement2ifx.QuadPathElement2ifx
public interface PathElement2D extends Serializable, Cloneable
An element of the path.- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Stéphane GALLAND, Hamza JAFFALI
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PathElementType
getType()
Replies the type of the element.boolean
isDrawable()
Replies if the element is not empty and is drawable.boolean
isEmpty()
Replies if the element is empty, ie. the points are the same.
-
-
-
Method Detail
-
getType
@Pure PathElementType getType()
Replies the type of the element.- Returns:
true
if the points are the same; otherwisefalse
.
-
isEmpty
@Pure boolean isEmpty()
Replies if the element is empty, ie. the points are the same.- Returns:
true
if the points are the same; otherwisefalse
.
-
isDrawable
@Pure boolean isDrawable()
Replies if the element is not empty and is drawable.Only the path elements that may produce pixels on the screen must reply
true
in this function.- Returns:
true
if the path element is drawable; otherwisefalse
.
-
-