v_sim.ElementSpin¶
- Subclasses:
None
Methods¶
- Inherited:
v_sim.ElementAtomic (16), v_sim.ElementRenderer (17), GObject.Object (37)
- Structs:
class |
|
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
A axis length |
||
r/w |
B axis length |
||
r/w |
hat length |
||
r/w |
hat radius |
||
r/w |
hat is colored by spin |
||
r/w |
shape is colored by spin |
||
r/w |
spin shape |
||
r/w |
tail length |
||
r/w |
tail radius |
||
r/w |
tail is colored by spin |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class v_sim.ElementSpin(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Structure used to define
v_sim.ElementSpinobjects.New in version 3.8.
- classmethod getShapeNames(asLabel)¶
- Parameters:
asLabel (
bool) – a boolean.- Returns:
strings representing
v_sim.ElementSpinShapeId.- Return type:
[
str]
Get the string defining
v_sim.ElementSpinShapeId. If asLabel isTrue, then the string are translated and stored in UTF8.New in version 3.8.
- classmethod new(element)¶
- Parameters:
element (
v_sim.Element) – av_sim.Elementobject.- Returns:
a newly created
v_sim.ElementSpinobject.- Return type:
Creates a new
v_sim.ElementSpinobject to draw element.New in version 3.8.
- bindToPool()¶
Bind all properties of self to the properties of the
v_sim.ElementSpinobject from the pool used for the samev_sim.Element.New in version 3.8.
- getShape()¶
- Returns:
a
v_sim.ElementSpinShapeIdvalue.- Return type:
Retrieves the shape of self.
New in version 3.8.
Property Details¶
- v_sim.ElementSpin.props.a_axis¶
-
A axis length
- v_sim.ElementSpin.props.b_axis¶
-
B axis length
- v_sim.ElementSpin.props.hat_length¶
-
hat length
- v_sim.ElementSpin.props.hat_radius¶
-
hat radius
- v_sim.ElementSpin.props.hat_spin_colored¶
-
hat is colored by spin
- v_sim.ElementSpin.props.spin_colored¶
-
shape is colored by spin
- v_sim.ElementSpin.props.spin_shape¶
-
spin shape
- v_sim.ElementSpin.props.tail_length¶
-
tail length
- v_sim.ElementSpin.props.tail_radius¶
-
tail radius