Skip to end of metadata
Go to start of metadata

The polygone VO is used to display lines in a scene. Optionally the anchor points of the line can be visualized as circles. The polygone has the following CLSID:

CLSID          {00100000-2012-0004-B001-C46BD7336A1A}

The attributes of the polygone allows to configure most visual aspects.

AttributeBindingTypeH/NDefaultDescription
typeNostringYes/Yes must be the above CLSID
idNostringYes/Yes specifies the id of the VO
datasourceNostring  path to a data node
posarrayYesvectorarrayYes/Yes anchor points of the route
scaleYesvectorYes/Yes the x part is used to scale the line
colorYescolorYes/Yes line color of the VO
startYeslongNo/Yes line end at start, 0:no 1: arrow
endYesstringNo/Yes line end at endt, 0:no 1: arrow
tooltipYesstringYes/Yes tooltip of the VO
linewidthYesvectorYes/Yes0;0;0x,y,z scaling, only x and y are used
dotcolorYes Yes/Yes color of a waypoint
dotbordercolorYescolorNo/Yes border color of a waypoint
dotwidthYesfloatYes/Yes diameter of a line dot
dothotScaleYesvectorYes/Yes1;1;1x,y,z only x factor is used to scale the linewidth and dotwidth
hotDeltaColorYesstringNo/Yes relative or absolute color value
fxsizeNobooleanNo/Yes when set, the VO should not scale
DragSourceNoobjectNo/Yes drag filter information
DropSourceNoobjectNo/Yes 

drop filter information^

EventsH/NDescription
ClickYes/Yesfired when the VO is clicked or there is a corresponding touch event on the VO
ContextMenuYes/Yesfired when there is a right click or a corresponding touch event on the VO
HandleContextMenuYes/Nofired when there is a click or touch on a design handle

 

The figure shows a schematic route. The dots are always on top of the routes line. When an endpoint is set, no dots will be rendered at this position. When the dotwidth is zero, the route does not show dots at all. Is the linewidth property of the Route set to zero, only dots will be shown.

The property dothotScale is a vector type, nevertheless only the first x coordinate is used to scale the dotwidth and linewidth property of the VO. The hotDeltaColor is applied to all color values of the route VO.

Sample

{
     "id": "Route",

     "type": "{00100000-2012-0004-B001-C46BD7336A1A}",
     "datasource": "Main",
     "posarray.bind": "Main.PosList",
     "scale": "1.0;1.0;1.0",
     "fxdir": "false",
     "fxsize": "false",
     "color.bind": "Main.Color",
     "start.bind": "Main.ArrowStartPoint",
     "end.bind": "Main.ArrowEndPoint",
     "tooltip.bind": "Main.ToolTip",
     "linewidth.bind": "Main.LineWidth",
     "dotwidth.bind": "Main.DotWidth",
     "dotcolor.bind": "Main.DotColor",
     "dotbordercolor.bind": "Main.DotBorderColor"
}

 

  • No labels