frame def line_thickness ( self ): """`float`: Border line thickness. lock_attributes class TextBox ( object ): """The box surrounding a `Text` object.""" def _init_ ( self, text ): self. Grid : # if units = grid, then coord-sys must be grid coord_sys = constant. Units ( value ) if size_units = constant. lock () def size_units ( self, value ): with self.
* `Units.Grid` is available only if position_coordinate_system is `CoordSys.Grid` * The position coordinate system will be changed to `CoordSys.Grid` if size units is set to `Units.Grid` Example showing how to set the units of the character height for a `Text` object:: > from nstant import CoordSys > text = frame.add_text("abc") > text.position_coordinate_system = CoordSys.Grid > _units = Units.Point """ with self. * `Units.Frame`: Specify character height as a percentage of frame height * `Units.Grid`: Specify character height in grid units. `Units` may be one of the following: * `Units.Point`: Specify character height in points. uid, float ( value )) def size_units ( self ): """`Units`: Units of the text character height. lock () def size ( self, value ): with self. Example showing how to set the text size of a `Text` object:: > text = frame.add_text('abc') > _units = > = 14 """ with self. bold, bool ( value )) def size ( self ): """`int`: The text size in the currently defined text size units. lock () def italic ( self, value ): with self. Example showing how to set the italic property of a `Text` object:: > text = frame.add_text('abc') > = True """ with self. italic ) def italic ( self ): """`bool`: Use italic typeface of the `Text` object. lock () def bold ( self, value ): with self. Example showing how to set the bold property of a `Text` object:: > text = frame.add_text('abc') > = True """ with self. italic ) def bold ( self ): """`bool`: Use bold typeface in the `Text` object. lock () def typeface ( self, value ): with self. This example shows how to set the typeface of a `Text` object to 'Times':: > text = frame.add_text('abc') > = 'Times' """ with self. If the typeface or style is not available, a suitable replacement will be selected. For consistency across various platforms, |Tecplot 360| guarantees that the following standard typeface names are available: * "Helvetica" * "Times" * "Courier" * "Greek" * "Math" * "User Defined" Other typefaces may or may not be available depending on the TrueType fonts available. frame def typeface ( self ): """`str`: The font family used by the `Text` object. lock_attributes class TextFont ( object ): """Typeface and font settings for a `Text` object.""" def _init_ ( self, text ): self.