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

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 end point 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 end point of the bar

Class hierarchy

Panel

LinkBar
SetEndGfx

Parameters

HANDLE LinkBar

The handle to the bar to alter

ULONG Mode

The graphics mode to draw the bar end-point with
Typical values for this parameter:
Name Description
Cap_None No cap is drawn for the start or end point
Cap_Line A line arrow is drawn
Cap_Triangle A flat 2D traingle
Cap_Cone A 3D cone
Cap_Sphere A 3D sphere
Cap_Dome A 3D half-sphere
Cap_Cylinder A 3D cylinder

ULONG RGBA

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

FLOAT Width

The width to use for 3D and arrow modes

FLOAT Height

The height to use for 3D and arrow 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.SetEndGfx(linkbar, ::Panel.LinkBar.Cap_None, rgba, width, height)

No additional examples