| Package | com.yworks.graph.drawing |
| Class | public class ShapeNodeShape |
| Inheritance | ShapeNodeShape Object |
IShapeNodeStyle or
JavaShapeNodeStyle instances.
Note that some constants are redundant, i.e. will cause the same shape to be painted.
This is because yFiles FLEX supports both all yFiles Java and all yFiles.NET shapes.
It is recommended to use the constants that start with an uppercase letter.
These constants are native to yFiles FLEX and yFiles.NET.
Use the lowercase constants only if you want to maximize compatibility with yFiles Java, e.g. if you use
Java realizers for manipulating shape nodes or if the shape is used by a JavaShapeNodeStyle.
All-uppercase constants exist only for compatibility with older versions of yFiles FLEX. The all-uppercase constants are mapped to yFiles Java constants.
Note that the actual serialization/deserialization of these constants depends on the concrete serializer/deserializer that is used.
| Method | Defined By | ||
|---|---|---|---|
getShapeNodeShapeName(shapeNodeShape:uint):String [static]
Gets the serialization String corresponding to the given id integer value of a shape. | ShapeNodeShape | ||
getShapeNodeShapeValue(shapeNodeShapeName:String):uint [static]
Gets the integer value which corresponds to the serialization String of a shape. | ShapeNodeShape | ||
| Constant | Defined By | ||
|---|---|---|---|
| diamond : uint = 20 [static]
Shape type constant. | ShapeNodeShape | ||
| DIAMOND : uint = 20 [static]
Deprecated. | ShapeNodeShape | ||
| ellipse : uint = 16 [static]
Shape type constant. | ShapeNodeShape | ||
| Ellipse : uint = 2 [static]
Shape type constant. | ShapeNodeShape | ||
| ELLIPSE : uint = 16 [static]
Deprecated. | ShapeNodeShape | ||
| FatArrow : uint = 12 [static]
An arrow like shape that points to the right
This shape is serialized as "FatArrow" and will be correctly parsed by yFiles.NET
| ShapeNodeShape | ||
| FatArrow2 : uint = 13 [static]
An arrow like shape that points to the left
This shape is serialized as "FatArrow2" and will be correctly parsed by yFiles.NET
| ShapeNodeShape | ||
| hexagon : uint = 18 [static]
Shape type constant. | ShapeNodeShape | ||
| HEXAGON : uint = 18 [static]
Deprecated. | ShapeNodeShape | ||
| octagon : uint = 19 [static]
Shape type constant. | ShapeNodeShape | ||
| OCTAGON : uint = 19 [static]
Deprecated. | ShapeNodeShape | ||
| parallelogram : uint = 17 [static]
Shape type constant. | ShapeNodeShape | ||
| PARALLELOGRAM : uint = 17 [static]
Deprecated. | ShapeNodeShape | ||
| RECT_3D : uint = 24 [static]
Deprecated. | ShapeNodeShape | ||
| rectangle : uint = 14 [static]
Shape type constant. | ShapeNodeShape | ||
| Rectangle : uint = 0 [static]
Shape type constant. | ShapeNodeShape | ||
| RECTANGLE : uint = 14 [static]
Deprecated. | ShapeNodeShape | ||
| rectangle3d : uint = 24 [static]
Shape type constant. | ShapeNodeShape | ||
| ROUND_RECT : uint = 15 [static]
Deprecated. | ShapeNodeShape | ||
| roundrectangle : uint = 15 [static]
Shape type constant. | ShapeNodeShape | ||
| RoundRectangle : uint = 1 [static]
Shape type constant. | ShapeNodeShape | ||
| ShearedRectangle : uint = 5 [static]
A rectangle that is sheared in the horizontal direction to the right
This shape is serialized as "ShearedRectangle" and will be correctly parsed by yFiles.NET
| ShapeNodeShape | ||
| ShearedRectangle2 : uint = 6 [static]
A rectangle that is sheared in the horizontal direction to the left
This shape is serialized as "ShearedRectangle2" and will be correctly parsed by yFiles.NET
| ShapeNodeShape | ||
| Star5 : uint = 9 [static]
A 5-star shape
This shape is serialized as "Star5" and will be correctly parsed by yFiles.NET
| ShapeNodeShape | ||
| Star6 : uint = 10 [static]
A 6-star shape
This shape is serialized as "Star6" and will be correctly parsed by yFiles.NET
| ShapeNodeShape | ||
| Star8 : uint = 11 [static]
A 8-star shape
This shape is serialized as "Star8" and will be correctly parsed by yFiles.NET
| ShapeNodeShape | ||
| Trapez : uint = 8 [static]
Specifies a trapezoidal shape, whose
lower line is half as long as it's upper line. | ShapeNodeShape | ||
| Trapez2 : uint = 7 [static]
Specifies a trapezoidal shape, whose
upper line is half as long as it's lower line. | ShapeNodeShape | ||
| trapezoid : uint = 22 [static]
Shape type constant. | ShapeNodeShape | ||
| TRAPEZOID : uint = 22 [static]
Deprecated. | ShapeNodeShape | ||
| trapezoid2 : uint = 23 [static]
Specifies a trapezoidal shape, whose
upper line is half as long as it's lower line. | ShapeNodeShape | ||
| TRAPEZOID_2 : uint = 23 [static]
Deprecated. | ShapeNodeShape | ||
| triangle : uint = 21 [static]
Shape type constant. | ShapeNodeShape | ||
| Triangle : uint = 3 [static]
A triangular shape that points to the top
This shape is serialized as "Triangle" and will be correctly parsed by yFiles.NET
| ShapeNodeShape | ||
| TRIANGLE : uint = 21 [static]
Deprecated. | ShapeNodeShape | ||
| Triangle2 : uint = 4 [static]
A triangular shape that points to the top
This shape is serialized as "Triangle2" and will be correctly parsed by yFiles.NET
| ShapeNodeShape | ||
| getShapeNodeShapeName | () | method |
public static function getShapeNodeShapeName(shapeNodeShape:uint):StringGets the serialization String corresponding to the given id integer value of a shape.
Parameters
shapeNodeShape:uint — The integer id value as defined in this class's constants.
|
String — The serialization String.
|
| getShapeNodeShapeValue | () | method |
public static function getShapeNodeShapeValue(shapeNodeShapeName:String):uintGets the integer value which corresponds to the serialization String of a shape.
Parameters
shapeNodeShapeName:String — The serialization String to query the integer value for
|
uint — the integer id value
|
| diamond | Constant |
public static const diamond:uint = 20Shape type constant. Specifies a diamond shape, i.e, a shape with four corners and diagonally sloped sides.
This shape is serialized as "diamond" and will be correctly parsed by yFiles Java.
| DIAMOND | Constant |
public static const DIAMOND:uint = 20
Deprecated. Use diamond instead.
See also
| ellipse | Constant |
public static const ellipse:uint = 16Shape type constant. Specifies an oval (ellipsoid) shape.
This shape is serialized as "ellipse" and will be correctly parsed by yFiles Java.
| Ellipse | Constant |
public static const Ellipse:uint = 2Shape type constant. Specifies an oval (ellipsoid) shape.
This shape is serialized as "Ellipse" and will be correctly parsed by yFiles.NET
| ELLIPSE | Constant |
public static const ELLIPSE:uint = 16
Deprecated. Use ellipse instead.
See also
| FatArrow | Constant |
public static const FatArrow:uint = 12An arrow like shape that points to the right
This shape is serialized as "FatArrow" and will be correctly parsed by yFiles.NET
| FatArrow2 | Constant |
public static const FatArrow2:uint = 13An arrow like shape that points to the left
This shape is serialized as "FatArrow2" and will be correctly parsed by yFiles.NET
| hexagon | Constant |
public static const hexagon:uint = 18Shape type constant. Specifies a hexagonal shape, i.e, a shape with six corners.
This shape is serialized as "hexagon" and will be correctly parsed by yFiles Java.
| HEXAGON | Constant |
public static const HEXAGON:uint = 18
Deprecated. Use hexagon instead.
See also
| octagon | Constant |
public static const octagon:uint = 19Shape type constant. Specifies an octagonal shape, i.e, a shape with eight corners.
This shape is serialized as "octagon" and will be correctly parsed by yFiles Java.
| OCTAGON | Constant |
public static const OCTAGON:uint = 19
Deprecated. Use octagon instead.
See also
| parallelogram | Constant |
public static const parallelogram:uint = 17Shape type constant. Specifies a rhomboidal shape, whose upper right corner is further to the right than it's lower right corner.
This shape is serialized as "parallelogram" and will be correctly parsed by yFiles Java.
| PARALLELOGRAM | Constant |
public static const PARALLELOGRAM:uint = 17
Deprecated. Use parallelogram instead.
See also
| RECT_3D | Constant |
public static const RECT_3D:uint = 24
Deprecated. Use rectangle3d instead.
See also
| rectangle | Constant |
public static const rectangle:uint = 14Shape type constant. Specifies a rectangular shape.
This shape is serialized as "rectangle" and will be correctly parsed by yFiles Java.
| Rectangle | Constant |
public static const Rectangle:uint = 0Shape type constant. Specifies a rectangular shape.
This shape is serialized as "Rectangle" and will be correctly parsed by yFiles.NET
| RECTANGLE | Constant |
public static const RECTANGLE:uint = 14
Deprecated. Use rectangle3d instead.
See also
| rectangle3d | Constant |
public static const rectangle3d:uint = 24Shape type constant. Specifies a rectangular shape with 3D-ish looks.
This shape is serialized as "rectangle3d" and will be correctly parsed by yFiles Java.
| ROUND_RECT | Constant |
public static const ROUND_RECT:uint = 15
Deprecated. Use roundrectangle instead.
See also
| roundrectangle | Constant |
public static const roundrectangle:uint = 15Shape type constant. Specifies a rectangular shape whose corners are rounded.
This shape is serialized as "roundrectangle" and will be correctly parsed by yFiles Java.
| RoundRectangle | Constant |
public static const RoundRectangle:uint = 1Shape type constant. Specifies a rectangular shape whose corners are rounded.
This shape is serialized as "RoundRectangle" and will be correctly parsed by yFiles.NET
| ShearedRectangle | Constant |
public static const ShearedRectangle:uint = 5A rectangle that is sheared in the horizontal direction to the right
This shape is serialized as "ShearedRectangle" and will be correctly parsed by yFiles.NET
| ShearedRectangle2 | Constant |
public static const ShearedRectangle2:uint = 6A rectangle that is sheared in the horizontal direction to the left
This shape is serialized as "ShearedRectangle2" and will be correctly parsed by yFiles.NET
| Star5 | Constant |
public static const Star5:uint = 9A 5-star shape
This shape is serialized as "Star5" and will be correctly parsed by yFiles.NET
| Star6 | Constant |
public static const Star6:uint = 10A 6-star shape
This shape is serialized as "Star6" and will be correctly parsed by yFiles.NET
| Star8 | Constant |
public static const Star8:uint = 11A 8-star shape
This shape is serialized as "Star8" and will be correctly parsed by yFiles.NET
| Trapez | Constant |
public static const Trapez:uint = 8Specifies a trapezoidal shape, whose lower line is half as long as it's upper line.
This shape is serialized as "Trapez" and will be correctly parsed by yFiles.NET
| Trapez2 | Constant |
public static const Trapez2:uint = 7Specifies a trapezoidal shape, whose upper line is half as long as it's lower line.
This shape is serialized as "Trapez2" and will be correctly parsed by yFiles.NET
| trapezoid | Constant |
public static const trapezoid:uint = 22Shape type constant. Specifies a trapezoidal shape, whose lower line is half as long as it's upper line.
This shape is serialized as "trapezoid" and will be correctly parsed by yFiles Java.
| TRAPEZOID | Constant |
public static const TRAPEZOID:uint = 22
Deprecated. Use trapezoid instead.
See also
| TRAPEZOID_2 | Constant |
public static const TRAPEZOID_2:uint = 23
Deprecated. Use trapezoid2 instead.
See also
| trapezoid2 | Constant |
public static const trapezoid2:uint = 23Specifies a trapezoidal shape, whose upper line is half as long as it's lower line.
This shape is serialized as "trapezoid2" and will be correctly parsed by yFiles Java.
| triangle | Constant |
public static const triangle:uint = 21Shape type constant. Specifies a triangular shape, i.e, a shape with three corners.
This shape is serialized as "triangle" and will be correctly parsed by yFiles Java.
| Triangle | Constant |
public static const Triangle:uint = 3A triangular shape that points to the top
This shape is serialized as "Triangle" and will be correctly parsed by yFiles.NET
| TRIANGLE | Constant |
public static const TRIANGLE:uint = 21
Deprecated. Use triangle instead.
See also
| Triangle2 | Constant |
public static const Triangle2:uint = 4A triangular shape that points to the top
This shape is serialized as "Triangle2" and will be correctly parsed by yFiles.NET