documentationfor yFiles for HTML 3.0.0.3

Usages of WebGLStroke

Properties

strokein WebGLArcEdgeStyleGets the stroke that specifies the color and thickness of the edge.
strokein WebGLBridgeEdgeStyleGets the stroke that specifies the color and thickness of the edge.
strokein WebGLGroupNodeStyleThe WebGLStroke used for drawing the outline of the shape.
backgroundStrokein WebGLIconLabelStyleGets the color of the stroke around the shape.
backgroundStrokein WebGLImageNodeStyleGets the stroke around the background shape.
backgroundStrokein WebGLLabelStyleGets the color and thickness of the label's background border.
strokein WebGLPolylineEdgeStyleGets the stroke that specifies the color and thickness of the edge.
strokein WebGLShapeNodeStyleGets the stroke around the shape.
BLACKin WebGLStrokeGets a solid black stroke with thickness 1.
NONEin WebGLStrokeAn invisible stroke that has no thickness or color.

Method Return Values

from (WebGLStroke)in WebGLStrokeCreates a WebGLStroke instance from the given stroke-like object by performing automatic type conversion.

Method Parameters

WebGLArcEdgeStyle (number?, boolean?, WebGLStroke?, WebGLArrowType?, WebGLArrowType?, number?, WebGLEffect?)in WebGLArcEdgeStyleCreates a new arc edge style that is rendered with WebGL2.
WebGLBridgeEdgeStyle (number?, number?, WebGLStroke?, WebGLArrowType?, WebGLArrowType?, number?, WebGLEffect?)in WebGLBridgeEdgeStyleCreates a new 3-segment bridge edge style that is rendered with WebGL2.
WebGLGroupNodeStyle (Color?, Color?, Color?, WebGLStroke?, number?, number?, number?, number?, number?, boolean?, GroupNodeStyleTabPosition?, GroupNodeStyleIconPosition?, GroupNodeStyleIconType?, GroupNodeStyleIconType?, GroupNodeStyleIconBackgroundShape?, Color?, Color?, number?, number?, WebGLEffect?, boolean?, GroupNodeStyleTabSizePolicy?, boolean?)in WebGLGroupNodeStyleCreates a new group node style that is rendered with WebGL2.
WebGLIconLabelStyle (ImageData, Color?, Color?, WebGLStroke?, Insets?, WebGLLabelShape?, WebGLEffect?, WebGLTextureRendering?)in WebGLIconLabelStyleCreates a new icon label style that is rendered with WebGL2.
WebGLImageNodeStyle (ImageData, Color?, boolean?, WebGLShapeNodeShape?, Color?, WebGLStroke?, WebGLEffect?, WebGLTextureRendering?)in WebGLImageNodeStyleCreates a new image node style that is rendered with WebGL2.
WebGLLabelStyle (Font?, Color?, Color?, WebGLStroke?, HorizontalTextAlignment?, Insets?, WebGLLabelShape?, WebGLEffect?, number?, WebGLTextureRendering?, TextWrapping?, TextWrappingShape?, number?, VerticalTextAlignment?)in WebGLLabelStyleCreates a new label style that is rendered with WebGL2.
WebGLPolylineEdgeStyle (WebGLStroke?, WebGLArrowType?, WebGLArrowType?, number?, number?, WebGLEffect?, boolean?)in WebGLPolylineEdgeStyleCreates a new polyline edge style that is rendered with WebGL.
WebGLShapeNodeStyle (WebGLShapeNodeShape?, Color?, WebGLStroke?, WebGLEffect?, boolean?)in WebGLShapeNodeStyleCreates a new shape node style that is rendered with WebGL2.
from (WebGLStroke)in WebGLStrokeCreates a WebGLStroke instance from the given stroke-like object by performing automatic type conversion.