Package org.jjazz.uiutilities.api
Class CrossShape
java.lang.Object
java.awt.Polygon
org.jjazz.uiutilities.api.CrossShape
- All Implemented Interfaces:
Shape
,Serializable
A cross shape like a '+'.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCrossShape
(int branchBigSide, int branchSmallSide) Create a symetrical cross shape. -
Method Summary
Methods inherited from class java.awt.Polygon
addPoint, contains, contains, contains, contains, contains, contains, getBoundingBox, getBounds, getBounds2D, getPathIterator, getPathIterator, inside, intersects, intersects, invalidate, reset, translate
-
Constructor Details
-
CrossShape
public CrossShape(int branchBigSide, int branchSmallSide) Create a symetrical cross shape. Total side length is equals to (2*branchBigSide+branchSmallSide)- Parameters:
branchBigSide
-branchSmallSide
-
-