mxGraph
Public Attributes | Static Public Attributes | List of all members
com.mxgraph.mxConstants Class Reference

Defines various global constants. More...

Public Attributes

const int FONT_BOLD = 1
 FONT_BOLD More...
 
const int FONT_ITALIC = 2
 FONT_ITALIC More...
 
const int FONT_UNDERLINE = 4
 FONT_UNDERLINE More...
 
const string SHAPE_RECTANGLE = "rectangle"
 SHAPE_RECTANGLE More...
 
const string SHAPE_ELLIPSE = "ellipse"
 SHAPE_ELLIPSE More...
 
const string SHAPE_DOUBLE_ELLIPSE = "doubleEllipse"
 SHAPE_DOUBLE_ELLIPSE More...
 
const string SHAPE_RHOMBUS = "rhombus"
 SHAPE_RHOMBUS More...
 
const string SHAPE_LINE = "line"
 SHAPE_LINE More...
 
const string SHAPE_IMAGE = "image"
 SHAPE_IMAGE More...
 
const string SHAPE_ARROW = "arrow"
 SHAPE_ARROW More...
 
const string SHAPE_LABEL = "label"
 SHAPE_LABEL More...
 
const string SHAPE_CYLINDER = "cylinder"
 SHAPE_CYLINDER More...
 
const string SHAPE_SWIMLANE = "swimlane"
 SHAPE_SWIMLANE More...
 
const string SHAPE_CONNECTOR = "connector"
 SHAPE_CONNECTOR More...
 
const string SHAPE_ACTOR = "actor"
 SHAPE_ACTOR More...
 
const string SHAPE_CLOUD = "cloud"
 SHAPE_CLOUD More...
 
const string SHAPE_TRIANGLE = "triangle"
 SHAPE_TRIANGLE More...
 
const string SHAPE_HEXAGON = "hexagon"
 SHAPE_HEXAGON More...
 
const string ARROW_CLASSIC = "classic"
 ARROW_CLASSIC More...
 
const string ARROW_BLOCK = "block"
 ARROW_BLOCK More...
 
const string ARROW_OPEN = "open"
 ARROW_OPEN More...
 
const string ARROW_OVAL = "oval"
 ARROW_BLOCK More...
 
const string ARROW_DIAMOND = "diamond"
 ARROW_OPEN More...
 
const string ALIGN_LEFT = "left"
 ALIGN_LEFT More...
 
const string ALIGN_CENTER = "center"
 ALIGN_CENTER More...
 
const string ALIGN_RIGHT = "right"
 ALIGN_RIGHT More...
 
const string ALIGN_TOP = "top"
 ALIGN_TOP More...
 
const string ALIGN_MIDDLE = "middle"
 ALIGN_MIDDLE More...
 
const string ALIGN_BOTTOM = "bottom"
 ALIGN_BOTTOM More...
 
const string DIRECTION_NORTH = "north"
 
const string DIRECTION_SOUTH = "south"
 
const string DIRECTION_EAST = "east"
 
const string DIRECTION_WEST = "west"
 
const string ELBOW_VERTICAL = "vertical"
 ELBOW_VERTICAL More...
 
const string ELBOW_HORIZONTAL = "horizontal"
 ELBOW_HORIZONTAL More...
 
const string EDGESTYLE_ELBOW = "elbowEdgeStyle"
 Name of the elbow edge style. Can be used as a string value More...
 
const string EDGESTYLE_ENTITY_RELATION = "entityRelationEdgeStyle"
 Name of the entity relation edge style. Can be used as a string value More...
 
const string EDGESTYLE_LOOP = "loopEdgeStyle"
 Name of the loop edge style. Can be used as a string value More...
 
const string EDGESTYLE_SIDETOSIDE = "sideToSideEdgeStyle"
 Name of the side to side edge style. Can be used as a string value More...
 
const string EDGESTYLE_TOPTOBOTTOM = "topToBottomEdgeStyle"
 Name of the top to bottom edge style. Can be used as a string value More...
 
const string PERIMETER_ELLIPSE = "ellipsePerimeter"
 Name of the ellipse perimeter. Can be used as a string value More...
 
const string PERIMETER_RECTANGLE = "rectanglePerimeter"
 Name of the rectangle perimeter. Can be used as a string value More...
 
const string PERIMETER_RHOMBUS = "rhombusPerimeter"
 Name of the rhombus perimeter. Can be used as a string value More...
 
const string PERIMETER_TRIANGLE = "trianglePerimeter"
 Name of the triangle perimeter. Can be used as a string value More...
 

Static Public Attributes

static double DEFAULT_HOTSPOT = 0.3
 Defines the portion of the cell which is More...
 
static double MIN_HOTSPOT_SIZE = 8
 Defines the minimum size in pixels of the More...
 
static string NS_SVG = "http://www.w3.org/2000/svg"
 Defines the SVG namespace. More...
 
static string NS_XHTML = "http://www.w3.org/1999/xhtml"
 Defines the XHTML namespace. More...
 
static string NS_XLINK = "http://www.w3.org/1999/xlink"
 Defines the XLink namespace. More...
 
static String DEFAULT_FONTFAMILIES = "Arial,Helvetica"
 Comma separated list of default fonts for CSS properties. And the default font family value for new image export. Default is Arial, Helvetica. More...
 
static String DEFAULT_FONTFAMILY = "Arial"
 Default family for fonts. Default is Arial. More...
 
static float DEFAULT_FONTSIZE = 11
 Default size for fonts (in px). Value is 11. More...
 
static float DEFAULT_STARTSIZE = 40
 Defines the default start size for swimlanes. Default is 40. More...
 
static int LINESPACING = 2
 Specifies the line spacing. Default is 2. More...
 
static double FONT_SIZEFACTOR = 0.75
 Defines the factor to multiply font sizes in points to be used as font sizes in em. Default is 1/1.33 = 0.75. More...
 
static int LABEL_INSET = 3
 Defines the inset in absolute pixels between the label bounding box and the label text. Default is 3. More...
 
static float DEFAULT_MARKERSIZE = 6
 Default size for markers. Value is 6. More...
 
static int DEFAULT_IMAGESIZE = 24
 Defines the default width and height for images used in the label shape. Default is 24. More...
 
static int STENCIL_SHADOW_OPACITY = 1
 Defines the default opacity for stencils shadows. Default is 1. More...
 
static String STENCIL_SHADOWCOLOR = "gray"
 Defines the default shadow color for stencils. Default is "gray". More...
 
static Color SHADOWCOLOR = Color.Gray
 Defines the color to be used to draw shadows. Default is gray. More...
 
static int SHADOW_OFFSETX = 2
 Defines the x-offset to be used for shadows. Default is 2. More...
 
static int SHADOW_OFFSETY = 3
 Defines the y-offset to be used for shadows. Default is 3. More...
 
static string W3C_SHADOWCOLOR = "gray"
 Defines the color to be used to draw shadows in W3C standards. Default is gray. More...
 
static int ENTITY_SEGMENT = 30
 Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30. More...
 
static double RECTANGLE_ROUNDING_FACTOR = 0.15
 Defines the rounding factor for rounded rectangles in percent between 0 and 1. Values should be smaller than 0.5. Default is 0.15. More...
 
static double LINE_ARCSIZE = 10
 Defines the size of the arcs for rounded edges. Default is 10. More...
 
static int ARROW_SPACING = 10
 Defines the spacing between the arrow shape and its terminals. Default is 10. More...
 
static int ARROW_WIDTH = 30
 Defines the width of the arrow shape. Default is 30. More...
 
static int ARROW_SIZE = 30
 Defines the size of the arrowhead in the arrow shape. Default is 30. More...
 
static string NONE = "none"
 Defines the value for none. Default is "none". More...
 
static string STYLE_PERIMETER = "perimeter"
 Defines the key for the perimeter style. Possible values are the functions defined in mxPerimeter. More...
 
static string STYLE_SOURCE_PORT = "sourcePort"
 Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge. More...
 
static string STYLE_TARGET_PORT = "targetPort"
 Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge. More...
 
static string STYLE_OPACITY = "opacity"
 Defines the key for the opacity style (0-100). More...
 
static string STYLE_FILL_OPACITY = "fillOpacity"
 Defines the key for the text fill opacity style (0-100). More...
 
static string STYLE_STROKE_OPACITY = "strokeOpacity"
 Defines the key for the stroke opacity style (0-100). More...
 
static string STYLE_TEXT_OPACITY = "textOpacity"
 Defines the key for the text opacity style (0-100). More...
 
static string STYLE_OVERFLOW = "overflow"
 Defines the key for the overflow style. Possible values are "visible", "hidden" and "fill". The default value is "visible". This value specifies how overlapping vertex labels are handles. A value of "visible" will show the complete label. A value of "hidden" will clip the label so that it does not overlap the vertex bounds. A value of "fill" will use the vertex bounds for the label. More...
 
static string STYLE_ORTHOGONAL = "orthogonal"
 Defines if the connection points on either end of the edge should be More...
 
static string STYLE_EXIT_X = "exitX"
 Defines the key for the horizontal relative coordinate connection point More...
 
static string STYLE_EXIT_Y = "exitY"
 Defines the key for the vertical relative coordinate connection point More...
 
static string STYLE_EXIT_PERIMETER = "exitPerimeter"
 Defines if the perimeter should be used to find the exact entry point More...
 
static string STYLE_ENTRY_X = "entryX"
 Defines the key for the horizontal relative coordinate connection point More...
 
static string STYLE_ENTRY_Y = "entryY"
 Defines the key for the vertical relative coordinate connection point More...
 
static string STYLE_ENTRY_PERIMETER = "entryPerimeter"
 Defines if the perimeter should be used to find the exact entry point More...
 
static string STYLE_WHITE_SPACE = "whiteSpace"
 Defines the key for the white-space style. Possible values are "nowrap" and "wrap". The default value is "nowrap". This value specifies how white-space inside a HTML vertex label should be handled. A value of "nowrap" means the text will never wrap to the next line until a linefeed is encountered. A value of "wrap" means text will wrap when necessary. More...
 
static string STYLE_ROTATION = "rotation"
 Defines the key for the rotation style (0-360). More...
 
static string STYLE_FILLCOLOR = "fillColor"
 Defines the key for the fillColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_SWIMLANE_FILLCOLOR = "swimlaneFillColor"
 Defines the key for the swimlaneFillColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_GRADIENTCOLOR = "gradientColor"
 Defines the key for the gradientColor style. The value is a string expression supported by ColorTranslator.FromHtml. This is ignored if no fill color is defined. More...
 
static string STYLE_GRADIENT_DIRECTION = "gradientDirection"
 Defines the key for the gradient direction. Possible values are DIRECTION_EAST, DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Default is DIRECTION_SOUTH. Generally, and by default in mxGraph, gradient painting is done from the value of STYLE_FILLCOLOR to the value of STYLE_GRADIENTCOLOR. Taking the example of DIRECTION_NORTH, this means STYLE_FILLCOLOR color at the bottom of paint pattern and STYLE_GRADIENTCOLOR at top, with a gradient in-between. More...
 
static string STYLE_STROKECOLOR = "strokeColor"
 Defines the key for the strokeColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_SEPARATORCOLOR = "separatorColor"
 Defines the key for the separatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. This style is only used for SHAPE_SWIMLANE shapes. More...
 
static string STYLE_STROKEWIDTH = "strokeWidth"
 Defines the key for the strokeWidth style. The type of the value is float and the possible range is any non-negative value. The value reflects the stroke width in pixels. More...
 
static string STYLE_ALIGN = "align"
 Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. This value defines how the lines of the label are horizontally aligned. ALIGN_LEFT mean label text lines are aligned to left of the label bounds, ALIGN_RIGHT to the right of the label bounds and ALIGN_CENTER means the center of the text lines are aligned in the center of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, use STYLE_LABEL_POSITION More...
 
static string STYLE_VERTICAL_ALIGN = "verticalAlign"
 Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. This value defines how the lines of the label are vertically aligned. ALIGN_TOP means the topmost label text line is aligned against the top of the label bounds, ALIGN_BOTTOM means the bottom-most label text line is aligned against the bottom of the label bounds and ALIGN_MIDDLE means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, use STYLE_VERTICAL_LABEL_POSITION. More...
 
static String STYLE_LABEL_POSITION = "labelPosition"
 Defines the key for the horizontal label position of vertices. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. Default is ALIGN_CENTER. The label align defines the position of the label relative to the cell. ALIGN_LEFT means the entire label bounds is placed completely just to the left of the vertex, ALIGN_RIGHT means adjust to the right and ALIGN_CENTER means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, use STYLE_ALIGN. More...
 
static String STYLE_VERTICAL_LABEL_POSITION = "verticalLabelPosition"
 Defines the key for the vertical label position of vertices. Possible More...
 
static string STYLE_IMAGE_ALIGN = "imageAlign"
 Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape. More...
 
static string STYLE_IMAGE_VERTICAL_ALIGN = "imageVerticalAlign"
 Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape. More...
 
static String STYLE_GLASS = "glass"
 Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel. More...
 
static string STYLE_IMAGE = "image"
 Defines the key for the image style. Possible values are any image URL, registered key in mxImageResources or short data URI as defined in mxImageBundle. The type of the value is String. This is the path to the image to image that is to be displayed within the label of a vertex. See mxGraphics2DCanvas.getImageForStyle, loadImage and setImageBasePath on how the image URL is resolved. Finally, mxUtils.loadImage is used for loading the image for a given URL. More...
 
static string STYLE_IMAGE_WIDTH = "imageWidth"
 Defines the key for the imageWidth style. The type of this value is int, the value is the image width in pixels and must be greated than 0. More...
 
static string STYLE_IMAGE_HEIGHT = "imageHeight"
 Defines the key for the imageHeight style The type of this value is int, the value is the image height in pixels and must be greater than 0. More...
 
static string STYLE_IMAGE_BACKGROUND = "imageBackground"
 Defines the key for the image background color. This style is only used More...
 
static string STYLE_IMAGE_BORDER = "imageBorder"
 Defines the key for the image border color. This style is only used for More...
 
static string STYLE_IMAGE_FLIPH = "imageFlipH"
 Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0. More...
 
static string STYLE_IMAGE_FLIPV = "imageFlipV"
 Defines the key for the vertical image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0. More...
 
static String STYLE_STENCIL_FLIPH = "stencilFlipH"
 Defines the key for the horizontal stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0. More...
 
static String STYLE_STENCIL_FLIPV = "stencilFlipV"
 Defines the key for the vertical stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0. More...
 
static String STYLE_NOLABEL = "noLabel"
 Defines the key for the noLabel style. If this is true then no label is visible for a given cell. Possible values are true or false (1 or 0). Default is false (0). More...
 
static String STYLE_NOEDGESTYLE = "noEdgeStyle"
 Defines the key for the noEdgeStyle style. If this is true then no edge style is applied for a given edge. Possible values are true or false (1 or 0). Default is false. More...
 
static String STYLE_LABEL_BACKGROUNDCOLOR = "labelBackgroundColor"
 Defines the key for the label background color. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static String STYLE_LABEL_BORDERCOLOR = "labelBorderColor"
 Defines the key for the label border color. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_INDICATOR_SHAPE = "indicatorShape"
 Defines the key for the indicatorShape style. Possible values are any of the SHAPE_* constants. More...
 
static string STYLE_INDICATOR_IMAGE = "indicatorImage"
 Defines the key for the indicatorImage style. Possible values are any image URL, the type of the value is String. More...
 
static string STYLE_INDICATOR_COLOR = "indicatorColor"
 Defines the key for the indicatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_INDICATOR_GRADIENTCOLOR = "indicatorGradientColor"
 Defines the key for the indicatorGradientColor style. The value is a string expression supported byColorTranslator.FromHtml. This style is only supported in SHAPE_LABEL shapes. More...
 
static string STYLE_INDICATOR_SPACING = "indicatorSpacing"
 Defines the key for the indicatorSpacing style (in px). More...
 
static string STYLE_INDICATOR_WIDTH = "indicatorWidth"
 Defines the key for the indicatorWidth style (in px). More...
 
static string STYLE_INDICATOR_HEIGHT = "indicatorHeight"
 Defines the key for the indicatorHeight style (in px). More...
 
static string STYLE_SHADOW = "shadow"
 Defines the key for the shadow style. The type of the value is boolean. This style applies to vertices and arrow style edges. More...
 
static String STYLE_SEGMENT = "segment"
 Defines the key for the segment style. The type of this value is float and the value represents the size of the horizontal segment of the entity relation style. Default is ENTITY_SEGMENT. More...
 
static string STYLE_ENDARROW = "endArrow"
 Defines the key for the endArrow style. Possible values are all constants in this class that start with ARROW_. This style is supported in the mxConnector shape. More...
 
static string STYLE_STARTARROW = "startArrow"
 Defines the key for the startArrow style. Possible values are all constants in this class that start with ARROW_. See STYLE_ENDARROW. This style is supported in the mxConnector shape. More...
 
static string STYLE_ENDSIZE = "endSize"
 Defines the key for the endSize style. The type of this value is float and the value represents the size of the end marker in pixels. More...
 
static string STYLE_STARTSIZE = "startSize"
 Defines the key for the startSize style. The type of this value is float and the value represents the size of the start marker or the size of the swimlane title region depending on the shape it is used for. More...
 
static string STYLE_DASHED = "dashed"
 Defines the key for the dashed style. The type of this value is boolean and the value determines whether or not an edge or border is drawn with a dashed pattern along the line. More...
 
static string STYLE_ROUNDED = "rounded"
 Defines the key for the rounded style. The type of this value is boolean. For edges this determines whether or not joins between edges segments are smoothed to a rounded finish. For vertices that have the rectangle shape, this determines whether or not the rectangle is rounded. More...
 
static string STYLE_SOURCE_PERIMETER_SPACING = "sourcePerimeterSpacing"
 Defines the key for the source perimeter spacing. The type of this value is double. This is the distance between the source connection point of an edge and the perimeter of the source vertex in pixels. This style only applies to edges. More...
 
static string STYLE_TARGET_PERIMETER_SPACING = "targetPerimeterSpacing"
 Defines the key for the target perimeter spacing. The type of this value is double. This is the distance between the target connection point of an edge and the perimeter of the target vertex in pixels. This style only applies to edges. More...
 
static string STYLE_PERIMETER_SPACING = "perimeterSpacing"
 Defines the key for the perimeter spacing. This is the distance between the connection point and the perimeter in pixels. When used in a vertex style, this applies to all incoming edges to floating ports (edges that terminate on the perimeter of the vertex). When used in an edge style, this spacing applies to the source and target separately, if they terminate in floating ports (on the perimeter of the vertex). More...
 
static string STYLE_SPACING = "spacing"
 Defines the key for the spacing. The value represents the spacing, in pixels, added to each side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_SPACING_TOP = "spacingTop"
 Defines the key for the spacingTop style. The value represents the spacing, in pixels, added to the top side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_SPACING_LEFT = "spacingLeft"
 Defines the key for the spacingLeft style. The value represents the spacing, in pixels, added to the left side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_SPACING_BOTTOM = "spacingBottom"
 Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_SPACING_RIGHT = "spacingRight"
 Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_HORIZONTAL = "horizontal"
 Defines the key for the horizontal style. Possible values are true or false. This value only applies to vertices. If the STYLE_SHAPE is SHAPE_SWIMLANE a value of false indicates that the swimlane should be drawn vertically, true indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically. More...
 
static string STYLE_DIRECTION = "direction"
 Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. This value only applies to vertices. More...
 
static string STYLE_ELBOW = "elbow"
 Defines the key for the elbow style. Possible values are ELBOW_HORIZONTAL and ELBOW_VERTICAL. Default is ELBOW_HORIZONTAL. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides. More...
 
static string STYLE_FONTCOLOR = "fontColor"
 Defines the key for the fontColor style. The value is type String and of the expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_FONTFAMILY = "fontFamily"
 Defines the key for the fontFamily style. Possible values are names such as Arial; Dialog; Verdana; Times New Roman. The value is of type String. More...
 
static string STYLE_FONTSIZE = "fontSize"
 Defines the key for the fontSize style (in px). The type of the value is int. More...
 
static string STYLE_FONTSTYLE = "fontStyle"
 Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC and FONT_UNDERLINE. The type of the value is int. More...
 
static string STYLE_SHAPE = "shape"
 Defines the key for the shape style. Possible values are any of the SHAPE_* constants. More...
 
static string STYLE_EDGE = "edgeStyle"
 Takes a function that creates points. Possible values are the functions defined in mxEdgeStyle. More...
 
static string STYLE_LOOP = "loopStyle"
 Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle. More...
 
static String STYLE_ROUTING_CENTER_X = "routingCenterX"
 Defines the key for the horizontal routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float. More...
 
static String STYLE_ROUTING_CENTER_Y = "routingCenterY"
 Defines the key for the vertical routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float. More...
 

Detailed Description

Defines various global constants.

Member Data Documentation

const string com.mxgraph.mxConstants.ALIGN_BOTTOM = "bottom"
const string com.mxgraph.mxConstants.ALIGN_CENTER = "center"
const string com.mxgraph.mxConstants.ALIGN_LEFT = "left"
const string com.mxgraph.mxConstants.ALIGN_MIDDLE = "middle"
const string com.mxgraph.mxConstants.ALIGN_RIGHT = "right"
const string com.mxgraph.mxConstants.ALIGN_TOP = "top"
const string com.mxgraph.mxConstants.ARROW_BLOCK = "block"

ARROW_BLOCK

Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

const string com.mxgraph.mxConstants.ARROW_CLASSIC = "classic"
const string com.mxgraph.mxConstants.ARROW_DIAMOND = "diamond"

ARROW_OPEN

Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

const string com.mxgraph.mxConstants.ARROW_OPEN = "open"

ARROW_OPEN

Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

const string com.mxgraph.mxConstants.ARROW_OVAL = "oval"

ARROW_BLOCK

Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

int com.mxgraph.mxConstants.ARROW_SIZE = 30
static

Defines the size of the arrowhead in the arrow shape. Default is 30.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

int com.mxgraph.mxConstants.ARROW_SPACING = 10
static

Defines the spacing between the arrow shape and its terminals. Default is 10.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

int com.mxgraph.mxConstants.ARROW_WIDTH = 30
static

Defines the width of the arrow shape. Default is 30.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

String com.mxgraph.mxConstants.DEFAULT_FONTFAMILIES = "Arial,Helvetica"
static

Comma separated list of default fonts for CSS properties. And the default font family value for new image export. Default is Arial, Helvetica.

String com.mxgraph.mxConstants.DEFAULT_FONTFAMILY = "Arial"
static

Default family for fonts. Default is Arial.

Referenced by com.mxgraph.mxUtils.GetFont().

float com.mxgraph.mxConstants.DEFAULT_FONTSIZE = 11
static

Default size for fonts (in px). Value is 11.

Referenced by com.mxgraph.mxUtils.GetFont().

double com.mxgraph.mxConstants.DEFAULT_HOTSPOT = 0.3
static

Defines the portion of the cell which is

to be used as a connectable region.

int com.mxgraph.mxConstants.DEFAULT_IMAGESIZE = 24
static

Defines the default width and height for images used in the label shape. Default is 24.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

float com.mxgraph.mxConstants.DEFAULT_MARKERSIZE = 6
static

Default size for markers. Value is 6.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

float com.mxgraph.mxConstants.DEFAULT_STARTSIZE = 40
static

Defines the default start size for swimlanes. Default is 40.

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxUtils.GetLabelPaintBounds(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

const string com.mxgraph.mxConstants.DIRECTION_EAST = "east"
const string com.mxgraph.mxConstants.DIRECTION_NORTH = "north"
const string com.mxgraph.mxConstants.DIRECTION_SOUTH = "south"
const string com.mxgraph.mxConstants.DIRECTION_WEST = "west"
const string com.mxgraph.mxConstants.EDGESTYLE_ELBOW = "elbowEdgeStyle"

Name of the elbow edge style. Can be used as a string value

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.EDGESTYLE_ENTITY_RELATION = "entityRelationEdgeStyle"

Name of the entity relation edge style. Can be used as a string value

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.EDGESTYLE_LOOP = "loopEdgeStyle"

Name of the loop edge style. Can be used as a string value

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.EDGESTYLE_SIDETOSIDE = "sideToSideEdgeStyle"

Name of the side to side edge style. Can be used as a string value

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.EDGESTYLE_TOPTOBOTTOM = "topToBottomEdgeStyle"

Name of the top to bottom edge style. Can be used as a string value

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.ELBOW_HORIZONTAL = "horizontal"

ELBOW_HORIZONTAL

const string com.mxgraph.mxConstants.ELBOW_VERTICAL = "vertical"

ELBOW_VERTICAL

int com.mxgraph.mxConstants.ENTITY_SEGMENT = 30
static

Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30.

const int com.mxgraph.mxConstants.FONT_BOLD = 1
const int com.mxgraph.mxConstants.FONT_ITALIC = 2
double com.mxgraph.mxConstants.FONT_SIZEFACTOR = 0.75
static

Defines the factor to multiply font sizes in points to be used as font sizes in em. Default is 1/1.33 = 0.75.

Referenced by com.mxgraph.mxUtils.GetFont(), and com.mxgraph.mxGdiCanvas2D.UpdateFont().

const int com.mxgraph.mxConstants.FONT_UNDERLINE = 4
int com.mxgraph.mxConstants.LABEL_INSET = 3
static

Defines the inset in absolute pixels between the label bounding box and the label text. Default is 3.

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

double com.mxgraph.mxConstants.LINE_ARCSIZE = 10
static

Defines the size of the arcs for rounded edges. Default is 10.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

int com.mxgraph.mxConstants.LINESPACING = 2
static

Specifies the line spacing. Default is 2.

double com.mxgraph.mxConstants.MIN_HOTSPOT_SIZE = 8
static

Defines the minimum size in pixels of the

portion of the cell cell which is to be used as a connectable region.

string com.mxgraph.mxConstants.NONE = "none"
static
string com.mxgraph.mxConstants.NS_SVG = "http://www.w3.org/2000/svg"
static

Defines the SVG namespace.

string com.mxgraph.mxConstants.NS_XHTML = "http://www.w3.org/1999/xhtml"
static

Defines the XHTML namespace.

string com.mxgraph.mxConstants.NS_XLINK = "http://www.w3.org/1999/xlink"
static

Defines the XLink namespace.

const string com.mxgraph.mxConstants.PERIMETER_ELLIPSE = "ellipsePerimeter"

Name of the ellipse perimeter. Can be used as a string value

for the STYLE_PERIMETER style.

const string com.mxgraph.mxConstants.PERIMETER_RECTANGLE = "rectanglePerimeter"

Name of the rectangle perimeter. Can be used as a string value

for the STYLE_PERIMETER style.

const string com.mxgraph.mxConstants.PERIMETER_RHOMBUS = "rhombusPerimeter"

Name of the rhombus perimeter. Can be used as a string value

for the STYLE_PERIMETER style.

const string com.mxgraph.mxConstants.PERIMETER_TRIANGLE = "trianglePerimeter"

Name of the triangle perimeter. Can be used as a string value

for the STYLE_PERIMETER style.

double com.mxgraph.mxConstants.RECTANGLE_ROUNDING_FACTOR = 0.15
static

Defines the rounding factor for rounded rectangles in percent between 0 and 1. Values should be smaller than 0.5. Default is 0.15.

Referenced by com.mxgraph.mxStencil.DrawElement().

int com.mxgraph.mxConstants.SHADOW_OFFSETX = 2
static
int com.mxgraph.mxConstants.SHADOW_OFFSETY = 3
static
Color com.mxgraph.mxConstants.SHADOWCOLOR = Color.Gray
static
const string com.mxgraph.mxConstants.SHAPE_ACTOR = "actor"

SHAPE_ACTOR

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

const string com.mxgraph.mxConstants.SHAPE_ARROW = "arrow"
const string com.mxgraph.mxConstants.SHAPE_CLOUD = "cloud"

SHAPE_CLOUD

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

const string com.mxgraph.mxConstants.SHAPE_CONNECTOR = "connector"

SHAPE_CONNECTOR

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle().

const string com.mxgraph.mxConstants.SHAPE_CYLINDER = "cylinder"

SHAPE_CYLINDER

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

const string com.mxgraph.mxConstants.SHAPE_DOUBLE_ELLIPSE = "doubleEllipse"

SHAPE_DOUBLE_ELLIPSE

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

const string com.mxgraph.mxConstants.SHAPE_ELLIPSE = "ellipse"

SHAPE_ELLIPSE

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

const string com.mxgraph.mxConstants.SHAPE_HEXAGON = "hexagon"

SHAPE_HEXAGON

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

const string com.mxgraph.mxConstants.SHAPE_IMAGE = "image"

SHAPE_IMAGE

const string com.mxgraph.mxConstants.SHAPE_LABEL = "label"
const string com.mxgraph.mxConstants.SHAPE_LINE = "line"

SHAPE_LINE

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

const string com.mxgraph.mxConstants.SHAPE_RECTANGLE = "rectangle"
const string com.mxgraph.mxConstants.SHAPE_RHOMBUS = "rhombus"

SHAPE_RHOMBUS

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

const string com.mxgraph.mxConstants.SHAPE_SWIMLANE = "swimlane"
const string com.mxgraph.mxConstants.SHAPE_TRIANGLE = "triangle"

SHAPE_TRIANGLE

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

int com.mxgraph.mxConstants.STENCIL_SHADOW_OPACITY = 1
static

Defines the default opacity for stencils shadows. Default is 1.

Referenced by com.mxgraph.mxStencil.DrawShadow().

String com.mxgraph.mxConstants.STENCIL_SHADOWCOLOR = "gray"
static

Defines the default shadow color for stencils. Default is "gray".

string com.mxgraph.mxConstants.STYLE_ALIGN = "align"
static

Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. This value defines how the lines of the label are horizontally aligned. ALIGN_LEFT mean label text lines are aligned to left of the label bounds, ALIGN_RIGHT to the right of the label bounds and ALIGN_CENTER means the center of the text lines are aligned in the center of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, use STYLE_LABEL_POSITION

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxUtils.GetScaledLabelBounds(), and com.mxgraph.mxUtils.GetStringFormat().

string com.mxgraph.mxConstants.STYLE_DASHED = "dashed"
static

Defines the key for the dashed style. The type of this value is boolean and the value determines whether or not an edge or border is drawn with a dashed pattern along the line.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

string com.mxgraph.mxConstants.STYLE_DIRECTION = "direction"
static

Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. This value only applies to vertices.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxStencil.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

string com.mxgraph.mxConstants.STYLE_EDGE = "edgeStyle"
static

Takes a function that creates points. Possible values are the functions defined in mxEdgeStyle.

Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

string com.mxgraph.mxConstants.STYLE_ELBOW = "elbow"
static

Defines the key for the elbow style. Possible values are ELBOW_HORIZONTAL and ELBOW_VERTICAL. Default is ELBOW_HORIZONTAL. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides.

string com.mxgraph.mxConstants.STYLE_ENDARROW = "endArrow"
static

Defines the key for the endArrow style. Possible values are all constants in this class that start with ARROW_. This style is supported in the mxConnector shape.

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

string com.mxgraph.mxConstants.STYLE_ENDSIZE = "endSize"
static

Defines the key for the endSize style. The type of this value is float and the value represents the size of the end marker in pixels.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

string com.mxgraph.mxConstants.STYLE_ENTRY_PERIMETER = "entryPerimeter"
static

Defines if the perimeter should be used to find the exact entry point

along the perimeter of the target. Possible values are 0 (false) and 1 (true). Default is 1 (true).

Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

string com.mxgraph.mxConstants.STYLE_ENTRY_X = "entryX"
static

Defines the key for the horizontal relative coordinate connection point

of an edge with its target terminal.

Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

string com.mxgraph.mxConstants.STYLE_ENTRY_Y = "entryY"
static

Defines the key for the vertical relative coordinate connection point

of an edge with its target terminal.

Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

string com.mxgraph.mxConstants.STYLE_EXIT_PERIMETER = "exitPerimeter"
static

Defines if the perimeter should be used to find the exact entry point

along the perimeter of the source. Possible values are 0 (false) and 1 (true). Default is 1 (true).

Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

string com.mxgraph.mxConstants.STYLE_EXIT_X = "exitX"
static

Defines the key for the horizontal relative coordinate connection point

of an edge with its source terminal.

Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

string com.mxgraph.mxConstants.STYLE_EXIT_Y = "exitY"
static

Defines the key for the vertical relative coordinate connection point

of an edge with its source terminal.

Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

string com.mxgraph.mxConstants.STYLE_FILL_OPACITY = "fillOpacity"
static

Defines the key for the text fill opacity style (0-100).

string com.mxgraph.mxConstants.STYLE_FILLCOLOR = "fillColor"
static

Defines the key for the fillColor style. The value is a string expression supported by ColorTranslator.FromHtml.

Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

string com.mxgraph.mxConstants.STYLE_FONTCOLOR = "fontColor"
static

Defines the key for the fontColor style. The value is type String and of the expression supported by ColorTranslator.FromHtml.

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), and com.mxgraph.mxGdiCanvas.DrawText().

string com.mxgraph.mxConstants.STYLE_FONTFAMILY = "fontFamily"
static

Defines the key for the fontFamily style. Possible values are names such as Arial; Dialog; Verdana; Times New Roman. The value is of type String.

Referenced by com.mxgraph.mxUtils.GetFont().

string com.mxgraph.mxConstants.STYLE_FONTSIZE = "fontSize"
static

Defines the key for the fontSize style (in px). The type of the value is int.

Referenced by com.mxgraph.mxUtils.GetFont().

string com.mxgraph.mxConstants.STYLE_FONTSTYLE = "fontStyle"
static

Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC and FONT_UNDERLINE. The type of the value is int.

Referenced by com.mxgraph.mxUtils.GetFont().

String com.mxgraph.mxConstants.STYLE_GLASS = "glass"
static

Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

string com.mxgraph.mxConstants.STYLE_GRADIENT_DIRECTION = "gradientDirection"
static

Defines the key for the gradient direction. Possible values are DIRECTION_EAST, DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Default is DIRECTION_SOUTH. Generally, and by default in mxGraph, gradient painting is done from the value of STYLE_FILLCOLOR to the value of STYLE_GRADIENTCOLOR. Taking the example of DIRECTION_NORTH, this means STYLE_FILLCOLOR color at the bottom of paint pattern and STYLE_GRADIENTCOLOR at top, with a gradient in-between.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGdiCanvas.DrawShape().

string com.mxgraph.mxConstants.STYLE_GRADIENTCOLOR = "gradientColor"
static

Defines the key for the gradientColor style. The value is a string expression supported by ColorTranslator.FromHtml. This is ignored if no fill color is defined.

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

string com.mxgraph.mxConstants.STYLE_HORIZONTAL = "horizontal"
static

Defines the key for the horizontal style. Possible values are true or false. This value only applies to vertices. If the STYLE_SHAPE is SHAPE_SWIMLANE a value of false indicates that the swimlane should be drawn vertically, true indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically.

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawText(), com.mxgraph.mxUtils.GetLabelPaintBounds(), com.mxgraph.mxUtils.GetScaledLabelBounds(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

string com.mxgraph.mxConstants.STYLE_IMAGE = "image"
static

Defines the key for the image style. Possible values are any image URL, registered key in mxImageResources or short data URI as defined in mxImageBundle. The type of the value is String. This is the path to the image to image that is to be displayed within the label of a vertex. See mxGraphics2DCanvas.getImageForStyle, loadImage and setImageBasePath on how the image URL is resolved. Finally, mxUtils.loadImage is used for loading the image for a given URL.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxBasicCanvas.GetImageForStyle(), com.mxgraph.mxGraph.PostProcessCellStyle(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

string com.mxgraph.mxConstants.STYLE_IMAGE_ALIGN = "imageAlign"
static

Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

string com.mxgraph.mxConstants.STYLE_IMAGE_BACKGROUND = "imageBackground"
static

Defines the key for the image background color. This style is only used

for image shapes. Possible values are all HTML color names or HEX codes.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

string com.mxgraph.mxConstants.STYLE_IMAGE_BORDER = "imageBorder"
static

Defines the key for the image border color. This style is only used for

image shapes. Possible values are all HTML color names or HEX codes.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

string com.mxgraph.mxConstants.STYLE_IMAGE_FLIPH = "imageFlipH"
static

Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

string com.mxgraph.mxConstants.STYLE_IMAGE_FLIPV = "imageFlipV"
static

Defines the key for the vertical image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

string com.mxgraph.mxConstants.STYLE_IMAGE_HEIGHT = "imageHeight"
static

Defines the key for the imageHeight style The type of this value is int, the value is the image height in pixels and must be greater than 0.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

string com.mxgraph.mxConstants.STYLE_IMAGE_VERTICAL_ALIGN = "imageVerticalAlign"
static

Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

string com.mxgraph.mxConstants.STYLE_IMAGE_WIDTH = "imageWidth"
static

Defines the key for the imageWidth style. The type of this value is int, the value is the image width in pixels and must be greated than 0.

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

string com.mxgraph.mxConstants.STYLE_INDICATOR_COLOR = "indicatorColor"
static

Defines the key for the indicatorColor style. The value is a string expression supported by ColorTranslator.FromHtml.

string com.mxgraph.mxConstants.STYLE_INDICATOR_GRADIENTCOLOR = "indicatorGradientColor"
static

Defines the key for the indicatorGradientColor style. The value is a string expression supported byColorTranslator.FromHtml. This style is only supported in SHAPE_LABEL shapes.

string com.mxgraph.mxConstants.STYLE_INDICATOR_HEIGHT = "indicatorHeight"
static

Defines the key for the indicatorHeight style (in px).

string com.mxgraph.mxConstants.STYLE_INDICATOR_IMAGE = "indicatorImage"
static

Defines the key for the indicatorImage style. Possible values are any image URL, the type of the value is String.

string com.mxgraph.mxConstants.STYLE_INDICATOR_SHAPE = "indicatorShape"
static

Defines the key for the indicatorShape style. Possible values are any of the SHAPE_* constants.

string com.mxgraph.mxConstants.STYLE_INDICATOR_SPACING = "indicatorSpacing"
static

Defines the key for the indicatorSpacing style (in px).

string com.mxgraph.mxConstants.STYLE_INDICATOR_WIDTH = "indicatorWidth"
static

Defines the key for the indicatorWidth style (in px).

String com.mxgraph.mxConstants.STYLE_LABEL_BACKGROUNDCOLOR = "labelBackgroundColor"
static

Defines the key for the label background color. The value is a string expression supported by ColorTranslator.FromHtml.

Referenced by com.mxgraph.mxGdiCanvas.DrawText().

String com.mxgraph.mxConstants.STYLE_LABEL_BORDERCOLOR = "labelBorderColor"
static

Defines the key for the label border color. The value is a string expression supported by ColorTranslator.FromHtml.

Referenced by com.mxgraph.mxGdiCanvas.DrawText().

String com.mxgraph.mxConstants.STYLE_LABEL_POSITION = "labelPosition"
static

Defines the key for the horizontal label position of vertices. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. Default is ALIGN_CENTER. The label align defines the position of the label relative to the cell. ALIGN_LEFT means the entire label bounds is placed completely just to the left of the vertex, ALIGN_RIGHT means adjust to the right and ALIGN_CENTER means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, use STYLE_ALIGN.

Referenced by com.mxgraph.mxGraphView.UpdateVertexLabelOffset().

string com.mxgraph.mxConstants.STYLE_LOOP = "loopStyle"
static

Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle.

Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

String com.mxgraph.mxConstants.STYLE_NOEDGESTYLE = "noEdgeStyle"
static

Defines the key for the noEdgeStyle style. If this is true then no edge style is applied for a given edge. Possible values are true or false (1 or 0). Default is false.

Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

String com.mxgraph.mxConstants.STYLE_NOLABEL = "noLabel"
static

Defines the key for the noLabel style. If this is true then no label is visible for a given cell. Possible values are true or false (1 or 0). Default is false (0).

Referenced by com.mxgraph.mxGraph.GetLabel().

string com.mxgraph.mxConstants.STYLE_OPACITY = "opacity"
static
string com.mxgraph.mxConstants.STYLE_ORTHOGONAL = "orthogonal"
static

Defines if the connection points on either end of the edge should be

computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. Default is false. This is used in mxGraph.IsOrthogonal, which also returns true if the edgeStyle of the edge is an elbow or entity.

Referenced by com.mxgraph.mxGraph.IsOrthogonal().

string com.mxgraph.mxConstants.STYLE_OVERFLOW = "overflow"
static

Defines the key for the overflow style. Possible values are "visible", "hidden" and "fill". The default value is "visible". This value specifies how overlapping vertex labels are handles. A value of "visible" will show the complete label. A value of "hidden" will clip the label so that it does not overlap the vertex bounds. A value of "fill" will use the vertex bounds for the label.

Referenced by com.mxgraph.mxGraphView.UpdateBoundingBox(), and com.mxgraph.mxGraphView.UpdateLabelBounds().

string com.mxgraph.mxConstants.STYLE_PERIMETER = "perimeter"
static

Defines the key for the perimeter style. Possible values are the functions defined in mxPerimeter.

Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), and com.mxgraph.mxGraphView.GetPerimeterFunction().

string com.mxgraph.mxConstants.STYLE_PERIMETER_SPACING = "perimeterSpacing"
static

Defines the key for the perimeter spacing. This is the distance between the connection point and the perimeter in pixels. When used in a vertex style, this applies to all incoming edges to floating ports (edges that terminate on the perimeter of the vertex). When used in an edge style, this spacing applies to the source and target separately, if they terminate in floating ports (on the perimeter of the vertex).

Referenced by com.mxgraph.mxGraphView.GetPerimeterBounds(), and com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

string com.mxgraph.mxConstants.STYLE_ROTATION = "rotation"
static
string com.mxgraph.mxConstants.STYLE_ROUNDED = "rounded"
static

Defines the key for the rounded style. The type of this value is boolean. For edges this determines whether or not joins between edges segments are smoothed to a rounded finish. For vertices that have the rectangle shape, this determines whether or not the rectangle is rounded.

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGdiCanvas.DrawShape().

String com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_X = "routingCenterX"
static

Defines the key for the horizontal routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float.

Referenced by com.mxgraph.mxGraphView.GetRoutingCenterX().

String com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_Y = "routingCenterY"
static

Defines the key for the vertical routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float.

Referenced by com.mxgraph.mxGraphView.GetRoutingCenterY().

String com.mxgraph.mxConstants.STYLE_SEGMENT = "segment"
static

Defines the key for the segment style. The type of this value is float and the value represents the size of the horizontal segment of the entity relation style. Default is ENTITY_SEGMENT.

string com.mxgraph.mxConstants.STYLE_SEPARATORCOLOR = "separatorColor"
static

Defines the key for the separatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. This style is only used for SHAPE_SWIMLANE shapes.

string com.mxgraph.mxConstants.STYLE_SHADOW = "shadow"
static

Defines the key for the shadow style. The type of the value is boolean. This style applies to vertices and arrow style edges.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

string com.mxgraph.mxConstants.STYLE_SHAPE = "shape"
static
string com.mxgraph.mxConstants.STYLE_SOURCE_PERIMETER_SPACING = "sourcePerimeterSpacing"
static

Defines the key for the source perimeter spacing. The type of this value is double. This is the distance between the source connection point of an edge and the perimeter of the source vertex in pixels. This style only applies to edges.

Referenced by com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

string com.mxgraph.mxConstants.STYLE_SOURCE_PORT = "sourcePort"
static

Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.

Referenced by com.mxgraph.mxGraphView.GetTerminalPort().

string com.mxgraph.mxConstants.STYLE_SPACING = "spacing"
static

Defines the key for the spacing. The value represents the spacing, in pixels, added to each side of a label in a vertex (style applies to vertices only).

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxUtils.GetScaledLabelBounds().

string com.mxgraph.mxConstants.STYLE_SPACING_BOTTOM = "spacingBottom"
static

Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

string com.mxgraph.mxConstants.STYLE_SPACING_LEFT = "spacingLeft"
static

Defines the key for the spacingLeft style. The value represents the spacing, in pixels, added to the left side of a label in a vertex (style applies to vertices only).

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

string com.mxgraph.mxConstants.STYLE_SPACING_RIGHT = "spacingRight"
static

Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

string com.mxgraph.mxConstants.STYLE_SPACING_TOP = "spacingTop"
static

Defines the key for the spacingTop style. The value represents the spacing, in pixels, added to the top side of a label in a vertex (style applies to vertices only).

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

string com.mxgraph.mxConstants.STYLE_STARTARROW = "startArrow"
static

Defines the key for the startArrow style. Possible values are all constants in this class that start with ARROW_. See STYLE_ENDARROW. This style is supported in the mxConnector shape.

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

string com.mxgraph.mxConstants.STYLE_STARTSIZE = "startSize"
static

Defines the key for the startSize style. The type of this value is float and the value represents the size of the start marker or the size of the swimlane title region depending on the shape it is used for.

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxUtils.GetLabelPaintBounds(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

String com.mxgraph.mxConstants.STYLE_STENCIL_FLIPH = "stencilFlipH"
static

Defines the key for the horizontal stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0.

Referenced by com.mxgraph.mxStencil.PaintShape().

String com.mxgraph.mxConstants.STYLE_STENCIL_FLIPV = "stencilFlipV"
static

Defines the key for the vertical stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0.

Referenced by com.mxgraph.mxStencil.PaintShape().

string com.mxgraph.mxConstants.STYLE_STROKE_OPACITY = "strokeOpacity"
static

Defines the key for the stroke opacity style (0-100).

string com.mxgraph.mxConstants.STYLE_STROKECOLOR = "strokeColor"
static

Defines the key for the strokeColor style. The value is a string expression supported by ColorTranslator.FromHtml.

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

string com.mxgraph.mxConstants.STYLE_STROKEWIDTH = "strokeWidth"
static

Defines the key for the strokeWidth style. The type of the value is float and the possible range is any non-negative value. The value reflects the stroke width in pixels.

Referenced by com.mxgraph.mxGdiCanvas.DrawGlassEffect(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxStencil.DrawShape(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

string com.mxgraph.mxConstants.STYLE_SWIMLANE_FILLCOLOR = "swimlaneFillColor"
static

Defines the key for the swimlaneFillColor style. The value is a string expression supported by ColorTranslator.FromHtml.

Referenced by com.mxgraph.mxGdiCanvas.DrawCell().

string com.mxgraph.mxConstants.STYLE_TARGET_PERIMETER_SPACING = "targetPerimeterSpacing"
static

Defines the key for the target perimeter spacing. The type of this value is double. This is the distance between the target connection point of an edge and the perimeter of the target vertex in pixels. This style only applies to edges.

Referenced by com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

string com.mxgraph.mxConstants.STYLE_TARGET_PORT = "targetPort"
static

Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.

Referenced by com.mxgraph.mxGraphView.GetTerminalPort().

string com.mxgraph.mxConstants.STYLE_TEXT_OPACITY = "textOpacity"
static

Defines the key for the text opacity style (0-100).

string com.mxgraph.mxConstants.STYLE_VERTICAL_ALIGN = "verticalAlign"
static

Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. This value defines how the lines of the label are vertically aligned. ALIGN_TOP means the topmost label text line is aligned against the top of the label bounds, ALIGN_BOTTOM means the bottom-most label text line is aligned against the bottom of the label bounds and ALIGN_MIDDLE means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, use STYLE_VERTICAL_LABEL_POSITION.

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxUtils.GetScaledLabelBounds(), and com.mxgraph.mxUtils.GetStringFormat().

String com.mxgraph.mxConstants.STYLE_VERTICAL_LABEL_POSITION = "verticalLabelPosition"
static

Defines the key for the vertical label position of vertices. Possible

values are ALIGN_TOP, ALIGN_BOTTOM and ALIGN_MIDDLE. Default is ALIGN_MIDDLE. The label align defines the position of the label relative to the cell. ALIGN_TOP means the entire label bounds is placed completely just on the top of the vertex, ALIGN_BOTTOM means adjust on the bottom and ALIGN_MIDDLE means the label bounds are horizontally aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label vertically within the label bounds, use STYLE_VERTICAL_ALIGN.

Referenced by com.mxgraph.mxGraphView.UpdateVertexLabelOffset().

string com.mxgraph.mxConstants.STYLE_WHITE_SPACE = "whiteSpace"
static

Defines the key for the white-space style. Possible values are "nowrap" and "wrap". The default value is "nowrap". This value specifies how white-space inside a HTML vertex label should be handled. A value of "nowrap" means the text will never wrap to the next line until a linefeed is encountered. A value of "wrap" means text will wrap when necessary.

Referenced by com.mxgraph.mxUtils.GetLabelPaintBounds(), and com.mxgraph.mxUtils.GetStringFormat().

string com.mxgraph.mxConstants.W3C_SHADOWCOLOR = "gray"
static

Defines the color to be used to draw shadows in W3C standards. Default is gray.


The documentation for this class was generated from the following file: