v_sim.GlExtLined¶
- Implementations:
 
Methods¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
rendering color  | 
||
r/w  | 
rendering line stipple pattern  | 
||
r/w  | 
rendering line width  | 
Signals¶
None
Fields¶
None
Class Details¶
- class v_sim.GlExtLined¶
 - Bases:
 - Structure:
 
Interface object.
New in version 3.8.
- getRGBA()¶
 - Returns:
 four RGB values, private from V_Sim, read only.
- Return type:
 [
float]
Read all the colour components of the line (in [0;1]).
New in version 3.8.
- getStipple()¶
 - Returns:
 the value of current line pattern.
- Return type:
 
Read the line pattern used to draw lines.
New in version 3.8.
- getWidth()¶
 - Returns:
 the value of current line width.
- Return type:
 
Read the line width used to draw lines.
New in version 3.8.
- setRGBA(values, mask)¶
 - Parameters:
 values ([
float]) – a four floats array with values (0 <= values <= 1) for the red, the green and the blue color. Only values specified by the mask are really relevant.mask (
int) – usev_sim.COLOR_MASK_R,v_sim.COLOR_MASK_G,v_sim.COLOR_MASK_B,v_sim.COLOR_MASK_Aor a combinaison to indicate what values in the rgb array must be taken into account.
- Returns:
 Trueif modified.- Return type:
 
Method used to change the value of the color used to draw the line.
New in version 3.8.
- setStipple(value)¶
 - 
Method used to change the value of the line stipple.
New in version 3.8.
 
- setWidth(value)¶
 - Parameters:
 value (
float) – value of the desired line width.- Returns:
 Trueif modified.- Return type:
 
Method used to change the value of the line width.
New in version 3.8.
- do_set_rgba(values, mask) virtual¶
 - 
a routine to set line color.
 
- do_set_stipple(value) virtual¶
 - 
a routine to set line stipple.
 
Property Details¶
- v_sim.GlExtLined.props.color¶
 - Name:
 color- Type:
 - Default Value:
 - Flags:
 
rendering color
- v_sim.GlExtLined.props.stipple¶
 - 
rendering line stipple pattern