AnnotationStrokes(bpy_prop_collection)
base classes — bpy_prop, bpy_prop_collection
- class bpy.types.AnnotationStrokes(bpy_prop_collection)
Collection of annotation strokes
- new()
Add a new annotation stroke
- Returns:
The newly created stroke
- Return type:
- remove(stroke)
Remove an annotation stroke
- Parameters:
stroke (
AnnotationStroke) – The stroke to remove (never None)
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type