Scene Annotations¶
-
class
yt_idv.scene_annotations.base_annotation.
SceneAnnotation
(**kwargs: Any)[source]¶ Bases:
yt_idv.scene_components.base_component.SceneComponent
-
class
yt_idv.scene_annotations.block_outline.
BlockOutline
(**kwargs: Any)[source]¶ Bases:
yt_idv.scene_annotations.base_annotation.SceneAnnotation
A class that renders outlines of block data.
-
box_alpha
¶ A casting version of the float trait.
-
box_color
¶ An instance of a Python tuple.
-
box_width
¶ A casting version of the float trait.
-
data
¶ A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
-
name
= 'block_outline'¶
-
-
class
yt_idv.scene_annotations.box.
BoxAnnotation
(**kwargs: Any)[source]¶ Bases:
yt_idv.scene_annotations.base_annotation.SceneAnnotation
-
box_alpha
¶ A casting version of the float trait.
-
box_color
¶ An instance of a Python tuple.
-
box_width
¶ A casting version of the float trait.
-
data
¶ A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
-
name
= 'box_outline'¶
-
-
class
yt_idv.scene_annotations.text.
TextAnnotation
(**kwargs: Any)[source]¶ Bases:
yt_idv.scene_annotations.base_annotation.SceneAnnotation
-
data
¶ A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
-
draw_instructions
¶ An instance of a Python list.
-
name
= 'text_annotation'¶
-
origin
¶ An instance of a Python tuple.
-
scale
¶ A casting version of the float trait.
-
text
¶ A casting version of the unicode trait.
-