Package com.mxgraph.view
Class mxPerimeter
java.lang.Object
com.mxgraph.view.mxPerimeter
Provides various perimeter functions to be used in a style
as the value of mxConstants.STYLE_PERIMETER. Alternately, the mxConstants.
PERIMETER_* constants can be used to reference a perimeter via the
mxStyleRegistry.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Defines the requirements for a perimeter function. -
Field Summary
FieldsModifier and TypeFieldDescriptionDescribes an elliptic perimeter.Describes a hexagon perimeter.Describes a rectangular perimeter for the given bounds.Describes a rhombus (aka diamond) perimeter.Describes a triangle perimeter. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RectanglePerimeter
Describes a rectangular perimeter for the given bounds. -
EllipsePerimeter
Describes an elliptic perimeter. -
RhombusPerimeter
Describes a rhombus (aka diamond) perimeter. -
TrianglePerimeter
Describes a triangle perimeter. See RectanglePerimeter for a description of the parameters. -
HexagonPerimeter
Describes a hexagon perimeter. See RectanglePerimeter for a description of the parameters.
-
-
Constructor Details
-
mxPerimeter
public mxPerimeter()
-