API / geotoolkit / schematics / labeling / LineConnector / LineConnector
labeling.LineConnector.LineConnector
LineConnector Shape
↳
LineConnector
Constructors
Methods
Css Properties
| Name | Type | Description |
|---|---|---|
labeldata | LabelData | |
labeldata-anchortype | AnchorType | Anchor type |
labeldata-node | ComponentNode | Component node to label |
labeldata-node-automodellimitsmode | boolean | Auto model limits mode |
labeldata-node-bounds | Rect | Define position of the group in the parent |
labeldata-node-bounds-height | number | Height |
labeldata-node-bounds-readonly | boolean | Readonly |
labeldata-node-bounds-width | number | Width |
labeldata-node-bounds-x | number | Left |
labeldata-node-bounds-y | number | Top |
labeldata-node-clipping | boolean | Enable clipping, this does not consider the clipstyle, it is related to bounds-clipping |
labeldata-node-clipstyle | ClipStyle | Clipping style |
labeldata-node-clipstyle-evenodd | boolean | True if evenodd mode is on ('nonzero' mode otherwise) |
labeldata-node-clipstyle-geometry | GraphicsPath | Clipping geometry |
labeldata-node-clipstyle-geometry-bounds | Rect | Bounds |
labeldata-node-clipstyle | GraphicsPath | Clipping style |
labeldata-node-contentorientation | Orientation | Content orientation |
labeldata-node-cssclass | string | The css class name of this node |
labeldata-node-csscursor | string | CSS cursor associated with node |
labeldata-node-cssstyle | string | CSS style to be applied to inserted elements |
labeldata-node-description | string | Element description |
labeldata-node-fillstyle | string | Fill style |
labeldata-node-fillstyle | FillStyle | Fill style |
labeldata-node-fillstyle-color | string | Color in CSS form |
labeldata-node-fillstyle-evenoddmode | boolean | Even-odd fill mode |
labeldata-node-fillstyle-fillpattern | Pattern | Pattern |
labeldata-node-fillstyle-fillpattern-containername | string | An optional container name, which creates an image pattern. This parameter is used for serialization if you want to save are reference to pattern instead of the pattern itself |
labeldata-node-fillstyle-fillpattern-patternname | string | Name of this pattern for indexing |
labeldata-node-fillstyle-fillpattern-scalable | boolean | Flag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported) |
labeldata-node-fillstyle-foreground | string | Foreground color |
labeldata-node-fillstyle-pattern | Pattern | Pattern |
labeldata-node-horizontalflip | boolean | Horizontal axis goes from right to left |
labeldata-node-id | string | number | Id of the node, its a unique identifier |
labeldata-node-infinity | boolean | Mode to render outside the model limits |
labeldata-node-layoutstyle | LayoutStyle | Layout style to be used for parent layout |
labeldata-node-layoutstyle-constraint | SizeConstraint | Layout constrains |
labeldata-node-layoutstyle-flexgrow | number | Number specifying how much the item will grow relative to the rest of the items inside the same container |
labeldata-node-layoutstyle-flexshrink | number | Number specifying how much the item will shrink relative to the rest of the items inside the same container |
labeldata-node-layoutstyle-float | string | Float position |
labeldata-node-layoutstyle-position | string | Layout position |
labeldata-node-layoutstyle-size | number | string | Layout size |
labeldata-node-linestyle | string | Line style |
labeldata-node-linestyle | LineStyle | Line style |
labeldata-node-linestyle-color | string | Color in CSS form |
labeldata-node-linestyle-fill | string | Optional fill style to be used to fill lines generated with this style |
labeldata-node-linestyle-fill | FillStyle | Optional fill style to be used to fill lines generated with this style |
labeldata-node-linestyle-linecap | CapStyle | The line cap style |
labeldata-node-linestyle-linedashoffset | number | Line dash offset of dashed line |
labeldata-node-linestyle-linejoin | JoinStyle | The line join style |
labeldata-node-linestyle-pixelsnapmode | boolean | Pixel Snap Mode, default( |
labeldata-node-linestyle-scalable | boolean | True if width should depend on transformation |
labeldata-node-linestyle-unit | string | Optional unit for the width |
labeldata-node-linestyle-width | number | string | The line thickness |
labeldata-node-localtransform | Transformation | Local transformation |
labeldata-node-localtransform-dx | number | X axis translation |
labeldata-node-localtransform-dy | number | Y axis translation |
labeldata-node-localtransform-xx | number | X scale |
labeldata-node-localtransform-xy | number | Xy skew |
labeldata-node-localtransform-yx | number | Yx skew |
labeldata-node-localtransform-yy | number | Y scale |
labeldata-node-margins | number | string | It has properties for specifying the margins for each side |
labeldata-node-modellimits | Rect | Define inner model coordinates of the group |
labeldata-node-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
labeldata-node-opacity | number | Node opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context |
labeldata-node-opacityblendmode | BlendMode | Node opacity mode to blend it |
labeldata-node-padding | number | string | It has properties for specifying the padding for each side |
labeldata-node-pickingchildren | boolean | Enable picking children |
labeldata-node-rectbounds | Rect | Geometry bounds |
labeldata-node-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
labeldata-node-scalescrollstrategy-enabled | boolean | Enable flag |
labeldata-node-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
labeldata-node-tag | any | Custom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape |
labeldata-node-transform | string | Additional CSS transformation applied to node or 'none' |
labeldata-node-transform | Transformation | Additional CSS transformation applied to node or 'none' |
labeldata-node-verticalflip | boolean | Vertical axis goes from bottom to top |
labeldata-node-viewcache | boolean | View cache to cache child nodes |
labeldata-node-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
labeldata-node-z-index | number | Define node z-index |
labeldata-nodeindex | number | The node virtual index |
labeldata-nodeinfo | string | The node information |
labeldata-xlabel | number | Label x-position |
labeldata-ylabel | number | Label y-position |
linestyle | string | |
linestyle | LineStyle | |
visible | boolean |
Constructors
• new LineConnector(options?)
| Name | Type |
|---|---|
Optional options | Options |
ConnectorShape.constructor
Methods
▸ getClassName(): string
string
▸ getLabelData(): LabelData
Gets label data
▸ getLineStyle(): LineStyle
Gets line style
current line style
▸ getProperties(): OptionsOut
Returns all the properties pertaining to this object
An object containing the properties to set
▸ getVisible(): boolean
Return visibility of the connector
boolean
true if connector is visible
▸ render(context): void
Renders itself
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
void
▸ setLabelData(labelData): LineConnector
Sets label data
| Name | Type | Description |
|---|---|---|
labelData | LabelData | label Data |
this
▸ setLineStyle(lineStyle, merge?): LineConnector
Sets line style
| Name | Type | Description |
|---|---|---|
lineStyle | Type | line style or options |
Optional merge | boolean | true if you want to merge lineStyle with existing attribute, false by default |
this
▸ setProperties(options?): LineConnector
Sets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
Optional options | Options | An object containing the properties to set |
this
▸ setVisible(value): LineConnector
Sets visibility of the node.
| Name | Type | Description |
|---|---|---|
value | boolean | visibility flag |
this
▸ Static getClassName(): string
string