maptek.vulcan.text3d
Interface for Vulcan design text (3D).
num_lines (text3d self) → int
Returns the number of text lines.
get_line (text3d self, int line_num) → std::string
Gets a text line by index.
append (text3d self, std::string const & line)
Appends a new line of text.
set_line (text3d self, int line_num, std::string const & line)
Sets a line of text by index.
delete_line (text3d self, int line_num)
Deletes a line of text.
delete_all_lines (text3d self)
Deletes all lines of text.
get_origin (text3d self) → point
Gets the origin point.
set_origin (text3d self, point pt)
Sets the origin point.
get_direction (text3d self) → point
Gets the text direction (point with x/y/z)
set_direction (text3d self, point direction)
Sets the text direction.
get_normal (text3d self) → point
Gets the text normal.
set_normal (text3d self, point normal)
Sets the text normal.
get_scale (text3d self) → std::string
Gets the text scale.
set_scale (text3d self, std::string const & scale)
Sets the text scale.
get_height (text3d self) → double
Gets the text height.
set_height (text3d self, double height)
Sets the text height.
get_width (text3d self) → double
Gets the text width.
set_width (text3d self, double width)
Sets the text width.
get_font (text3d self) → std::string
Gets the text font.
set_font (text3d self, std::string const & font)
Sets the text font.
is_italic (text3d self) → bool
Gets the text italic setting(bool).
set_italic (text3d self, bool italic=True)
Sets the font italics.
is_mirrored_vertical (text3d self) → bool
Gets the font’s mirror (vertical)
set_mirrored_vertica l (text3d self, bool mirror=True)
Sets the text mirror(vertical)
is_mirrored_horizontal (text3d self) → bool
Gets the font’s mirror (horizontal)
set_mirrored_horizontal (text3d self, bool mirror=True)
Sets the text mirror(horizontal)
get_horizontal_align (text3d self) → std::string
Gets the horizontal alignment.
set_horizontal_align (text3d self, std::string const & alignment)
Sets the horizontal alignment.
get_vertical_align (text3d self) → std::string
Gets the vertical alignment.
set_vertical_align (text3d self, std::string const & alignment)
Sets the vertical alignment.
origin
Text origin
direction
Text direction
normal
Text normal
scale
Text scale
height
Text height
width
Text width
font
Text font
italic
Text italic setting
mirrored_vertical
Is text mirrored vertically
mirrored_horizontal
Is text mirrored horizontally
horizontal_align
Is text aligned horizontally
vertical_align
Is text aligned vertically