3DCoat Python API
The 3DCoat Python API documentation.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
coat.text Class Reference

Public Member Functions

 __init__ (self)
 
 __init__ (self, s=str)
 
text string (self, s=str)
 set the text's string.
 
Any string (self)
 get the text's string.
 
text font (self, f=Font)
 set the text font
 
Font font (self)
 get the font object
 
text width (self, w=float)
 set the text width in the pixels
 
float width (self)
 get the text width
 
text depth (self, d=float)
 set the text depth in the pixels
 
float depth (self)
 get the text depth
 
text bendRadius (self, radius=float)
 set the bend radius.
 
float bendRadius (self)
 get the bend radius.
 
text extraRotation (self, rotation=float)
 set the rotate angle around the x-axis.
 
float extraRotation (self)
 get the rotate angle around the x-axis.
 
text invertBending (self, _binvert=bool)
 set the invert of the text bending.
 
float invertBending (self)
 get the invert of the text bending.
 

Constructor & Destructor Documentation

◆ __init__() [1/2]

coat.text.__init__ (   self)

◆ __init__() [2/2]

coat.text.__init__ (   self,
  s = str 
)

Member Function Documentation

◆ bendRadius() [1/2]

float coat.text.bendRadius (   self)

get the bend radius.

Returns
the bend radius of the text

◆ bendRadius() [2/2]

text coat.text.bendRadius (   self,
  radius = float 
)

set the bend radius.

Parameters
radiusbend radius of the text
Returns
the text reference

◆ depth() [1/2]

float coat.text.depth (   self)

get the text depth

Returns
the depth value

◆ depth() [2/2]

text coat.text.depth (   self,
  d = float 
)

set the text depth in the pixels

Parameters
ddepth
Returns
the text reference

◆ extraRotation() [1/2]

float coat.text.extraRotation (   self)

get the rotate angle around the x-axis.

Returns
the rotate angle

◆ extraRotation() [2/2]

text coat.text.extraRotation (   self,
  rotation = float 
)

set the rotate angle around the x-axis.

Parameters
radiusbend radius of the text
Returns
the text reference

◆ font() [1/2]

Font coat.text.font (   self)

get the font object

Returns
font object

◆ font() [2/2]

text coat.text.font (   self,
  f = Font 
)

set the text font

Parameters
ffont object
Returns
the text reference

◆ invertBending() [1/2]

float coat.text.invertBending (   self)

get the invert of the text bending.

Returns
the invert bending

◆ invertBending() [2/2]

text coat.text.invertBending (   self,
  _binvert = bool 
)

set the invert of the text bending.

Parameters
binvertboolean value true/false
Returns
the text reference

◆ string() [1/2]

Any coat.text.string (   self)

get the text's string.

Returns
the string

◆ string() [2/2]

text coat.text.string (   self,
  s = str 
)

set the text's string.

Parameters
sthe string

◆ width() [1/2]

float coat.text.width (   self)

get the text width

Returns
the width value

◆ width() [2/2]

text coat.text.width (   self,
  w = float 
)

set the text width in the pixels

Parameters
wwidth
Returns
the text reference

The documentation for this class was generated from the following file: