v_sim.GlExtLined

g GObject.GInterface GObject.GInterface v_sim.GlExtLined v_sim.GlExtLined GObject.GInterface->v_sim.GlExtLined

Implementations:

v_sim.GlExtAxes, v_sim.GlExtBox, v_sim.GlExtScale

Methods

getRGBA ()

getStipple ()

getWidth ()

setRGBA (values, mask)

setStipple (value)

setWidth (value)

Virtual Methods

do_get_rgba ()

do_get_stipple ()

do_get_width ()

do_set_rgba (values, mask)

do_set_stipple (value)

do_set_width (value)

Properties

Name

Type

Flags

Short Description

color

v_sim.Color

r/w

rendering color

stipple

int

r/w

rendering line stipple pattern

width

float

r/w

rendering line width

Signals

None

Fields

None

Class Details

class v_sim.GlExtLined
Bases:

GObject.GInterface

Structure:

v_sim.GlExtLinedInterface

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:

int

Read the line pattern used to draw lines.

New in version 3.8.

getWidth()
Returns:

the value of current line width.

Return type:

float

Read the line width used to draw lines.

New in version 3.8.

setRGBA(values, mask)
Parameters:
Returns:

True if modified.

Return type:

bool

Method used to change the value of the color used to draw the line.

New in version 3.8.

setStipple(value)
Parameters:

value (int) – value of the desired pattern.

Returns:

True if modified.

Return type:

bool

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:

True if modified.

Return type:

bool

Method used to change the value of the line width.

New in version 3.8.

do_get_rgba() virtual
Return type:

float

a routine to get line color.

do_get_stipple() virtual
Return type:

int

a routine to get line stipple.

do_get_width() virtual
Return type:

float

a routine to get line width.

do_set_rgba(values, mask) virtual
Parameters:
Return type:

bool

a routine to set line color.

do_set_stipple(value) virtual
Parameters:

value (int) –

Return type:

bool

a routine to set line stipple.

do_set_width(value) virtual
Parameters:

value (float) –

Return type:

bool

a routine to set line width.

Property Details

v_sim.GlExtLined.props.color
Name:

color

Type:

v_sim.Color

Default Value:

None

Flags:

READABLE, WRITABLE

rendering color

v_sim.GlExtLined.props.stipple
Name:

stipple

Type:

int

Default Value:

65535

Flags:

READABLE, WRITABLE

rendering line stipple pattern

v_sim.GlExtLined.props.width
Name:

width

Type:

float

Default Value:

1.0

Flags:

READABLE, WRITABLE

rendering line width