Difference between revisions of "API Panel.LinkBar.SetBarGfx"

From Flowcode Help
Jump to navigationJump to search
(XML import of LinkBar API)
 
(XML import)
Line 2: Line 2:
  
 
<sidebar>API contents</sidebar>
 
<sidebar>API contents</sidebar>
Sets the position for the start point of the bar
+
Sets the graphic for the main line of the bar
  
 
<div style="width:25%; float:right" class="toc">
 
<div style="width:25%; float:right" class="toc">

Revision as of 13:35, 1 July 2013


<sidebar>API contents</sidebar> Sets the graphic for the main line of the bar

Class hierarchy

Panel

LinkBar
SetBarGfx

Parameters

HANDLE LinkBar

The handle to the bar to alter

ULONG Mode

The graphics mode to draw the bar with
Typical values for this parameter:
Name Description
Bar_None No bar is drawn between the start or end points
Bar_Line A line is drawn connecting the start and end
Bar_Cone A 3D cone is drawn connecting the start and end points
Bar_Cylinder A cylinder is drawn connecting the start and end points

ULONG RGBA

The red, green, blue value to colour the point with

FLOAT Radius

The scale to use for 3D modes


Return value

This call does not return a value


Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.LinkBar.SetBarGfx(linkbar, ::Panel.LinkBar.Bar_None, rgba, radius)

No additional examples