Search
Preparing search index...
The search index is not available
OpenCascade.js - v2.0.0-beta.533428a
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenCascade.js - v2.0.0-beta.533428a
Font_TextFormatter
Class Font_TextFormatter
Hierarchy
Standard_Transient
Font_TextFormatter
Index
Constructors
constructor
Methods
Append
Bnd
Box
Bottom
Left
Corners
Decrement
Ref
Counter
Delete
Dynamic
Type
First
Position
Format
Get
Ref
Count
Glyph
Bounding
Box
Has
Wrapping
Horizontal
Text
Alignment
Increment
Ref
Counter
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
IsLFSymbol
Line
Height
Line
Index
Line
Position
Index
Line
Width
Maximum
Symbol
Width
New
Lines
Reset
Result
Height
Result
Width
Set
Wrapping
Setup
Alignment
String
Tab
Size
This
Top
Left
Vertical
Text
Alignment
Wrapping
delete
Is
Command
Symbol
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new
Font_
Text
Formatter
(
)
:
Font_TextFormatter
Returns
Font_TextFormatter
Methods
Append
Append
(
theString
:
NCollection_String
, theFont
:
Font_FTFont
)
:
void
Parameters
theString:
NCollection_String
theFont:
Font_FTFont
Returns
void
Bnd
Box
Bnd
Box
(
theBndBox
:
Font_Rect
)
:
void
Parameters
theBndBox:
Font_Rect
Returns
void
Bottom
Left
Bottom
Left
(
theIndex
:
Graphic3d_ZLayerId
)
:
Graphic3d_Vec2
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
Graphic3d_Vec2
Corners
Corners
(
)
:
any
Returns
any
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Delete
Delete
(
)
:
void
Returns
void
Dynamic
Type
Dynamic
Type
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
First
Position
First
Position
(
)
:
number
Returns
number
Format
Format
(
)
:
void
Returns
void
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Glyph
Bounding
Box
Glyph
Bounding
Box
(
theIndex
:
Graphic3d_ZLayerId
, theBndBox
:
Font_Rect
)
:
boolean
Parameters
theIndex:
Graphic3d_ZLayerId
theBndBox:
Font_Rect
Returns
boolean
Has
Wrapping
Has
Wrapping
(
)
:
boolean
Returns
boolean
Horizontal
Text
Alignment
Horizontal
Text
Alignment
(
)
:
Graphic3d_HorizontalTextAlignment
Returns
Graphic3d_HorizontalTextAlignment
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Is
Instance_
1
Is
Instance_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Instance_
2
Is
Instance_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Is
Kind_
1
Is
Kind_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Kind_
2
Is
Kind_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
IsLFSymbol
IsLFSymbol
(
theIndex
:
Graphic3d_ZLayerId
)
:
boolean
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
boolean
Line
Height
Line
Height
(
theIndex
:
Graphic3d_ZLayerId
)
:
number
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
number
Line
Index
Line
Index
(
theIndex
:
Graphic3d_ZLayerId
)
:
Graphic3d_ZLayerId
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Line
Position
Index
Line
Position
Index
(
theIndex
:
Graphic3d_ZLayerId
)
:
Graphic3d_ZLayerId
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Line
Width
Line
Width
(
theIndex
:
Graphic3d_ZLayerId
)
:
number
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
number
Maximum
Symbol
Width
Maximum
Symbol
Width
(
)
:
number
Returns
number
New
Lines
New
Lines
(
)
:
any
Returns
any
Reset
Reset
(
)
:
void
Returns
void
Result
Height
Result
Height
(
)
:
number
Returns
number
Result
Width
Result
Width
(
)
:
number
Returns
number
Set
Wrapping
Set
Wrapping
(
theWidth
:
number
)
:
void
Parameters
theWidth:
number
Returns
void
Setup
Alignment
Setup
Alignment
(
theAlignX
:
Graphic3d_HorizontalTextAlignment
, theAlignY
:
Graphic3d_VerticalTextAlignment
)
:
void
Parameters
theAlignX:
Graphic3d_HorizontalTextAlignment
theAlignY:
Graphic3d_VerticalTextAlignment
Returns
void
String
String
(
)
:
NCollection_String
Returns
NCollection_String
Tab
Size
Tab
Size
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
Top
Left
Top
Left
(
theIndex
:
Graphic3d_ZLayerId
)
:
Graphic3d_Vec2
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
Graphic3d_Vec2
Vertical
Text
Alignment
Vertical
Text
Alignment
(
)
:
Graphic3d_VerticalTextAlignment
Returns
Graphic3d_VerticalTextAlignment
Wrapping
Wrapping
(
)
:
number
Returns
number
delete
delete
(
)
:
void
Returns
void
Static
Is
Command
Symbol
Is
Command
Symbol
(
theSymbol
:
Standard_Utf32Char
)
:
boolean
Parameters
theSymbol:
Standard_Utf32Char
Returns
boolean
Static
get_
type_
descriptor
get_
type_
descriptor
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Static
get_
type_
name
get_
type_
name
(
)
:
number
Returns
number
Exports
Font_
Text
Formatter
constructor
Append
Bnd
Box
Bottom
Left
Corners
Decrement
Ref
Counter
Delete
Dynamic
Type
First
Position
Format
Get
Ref
Count
Glyph
Bounding
Box
Has
Wrapping
Horizontal
Text
Alignment
Increment
Ref
Counter
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
IsLFSymbol
Line
Height
Line
Index
Line
Position
Index
Line
Width
Maximum
Symbol
Width
New
Lines
Reset
Result
Height
Result
Width
Set
Wrapping
Setup
Alignment
String
Tab
Size
This
Top
Left
Vertical
Text
Alignment
Wrapping
delete
Is
Command
Symbol
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc