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_FTFont
Class Font_FTFont
Hierarchy
Standard_Transient
Font_FTFont
Index
Constructors
constructor
Methods
Advance
X_
1
Advance
X_
2
Advance
Y_
1
Advance
Y_
2
Ascender
Bounding
Box
Decrement
Ref
Counter
Delete
Descender
Dynamic
Type
Find
And
Init
Get
Ref
Count
Glyph
Max
SizeX
Glyph
Max
SizeY
Glyph
Rect
Glyphs
Number
Has
Symbol
Increment
Ref
Counter
Init_
1
Init_
2
Init_
3
Init_
4
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Single
Stroke
Font
Is
Valid
Line
Spacing
Point
Size
Release
Render
Glyph
Set
Single
Stroke
Font
Set
Use
Unicode
Subset
Fallback
Set
Width
Scaling
This
To
Synthesize
Italic
To
Use
Unicode
Subset
Fallback
Width
Scaling
delete
render
Glyph
Outline
Char
Subset
Find
And
Create
Is
Char
From
Arabic
Is
Char
FromCJK
Is
Char
From
Hiragana
Is
Char
From
Katakana
Is
Char
From
Korean
Is
Char
Right
To
Left
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new
Font_
FTFont
(
theFTLib
:
Handle_Font_FTLibrary
)
:
Font_FTFont
Parameters
theFTLib:
Handle_Font_FTLibrary
Returns
Font_FTFont
Methods
Advance
X_
1
Advance
X_
1
(
theUCharNext
:
Standard_Utf32Char
)
:
number
Parameters
theUCharNext:
Standard_Utf32Char
Returns
number
Advance
X_
2
Advance
X_
2
(
theUChar
:
Standard_Utf32Char
, theUCharNext
:
Standard_Utf32Char
)
:
number
Parameters
theUChar:
Standard_Utf32Char
theUCharNext:
Standard_Utf32Char
Returns
number
Advance
Y_
1
Advance
Y_
1
(
theUCharNext
:
Standard_Utf32Char
)
:
number
Parameters
theUCharNext:
Standard_Utf32Char
Returns
number
Advance
Y_
2
Advance
Y_
2
(
theUChar
:
Standard_Utf32Char
, theUCharNext
:
Standard_Utf32Char
)
:
number
Parameters
theUChar:
Standard_Utf32Char
theUCharNext:
Standard_Utf32Char
Returns
number
Ascender
Ascender
(
)
:
number
Returns
number
Bounding
Box
Bounding
Box
(
theString
:
NCollection_String
, theAlignX
:
Graphic3d_HorizontalTextAlignment
, theAlignY
:
Graphic3d_VerticalTextAlignment
)
:
Font_Rect
Parameters
theString:
NCollection_String
theAlignX:
Graphic3d_HorizontalTextAlignment
theAlignY:
Graphic3d_VerticalTextAlignment
Returns
Font_Rect
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Delete
Delete
(
)
:
void
Returns
void
Descender
Descender
(
)
:
number
Returns
number
Dynamic
Type
Dynamic
Type
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Find
And
Init
Find
And
Init
(
theFontName
:
XCAFDoc_PartId
, theFontAspect
:
Font_FontAspect
, theParams
:
Font_FTFontParams
, theStrictLevel
:
Font_StrictLevel
)
:
boolean
Parameters
theFontName:
XCAFDoc_PartId
theFontAspect:
Font_FontAspect
theParams:
Font_FTFontParams
theStrictLevel:
Font_StrictLevel
Returns
boolean
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Glyph
Max
SizeX
Glyph
Max
SizeX
(
theToIncludeFallback
:
boolean
)
:
Aspect_VKeyFlags
Parameters
theToIncludeFallback:
boolean
Returns
Aspect_VKeyFlags
Glyph
Max
SizeY
Glyph
Max
SizeY
(
theToIncludeFallback
:
boolean
)
:
Aspect_VKeyFlags
Parameters
theToIncludeFallback:
boolean
Returns
Aspect_VKeyFlags
Glyph
Rect
Glyph
Rect
(
theRect
:
Font_Rect
)
:
void
Parameters
theRect:
Font_Rect
Returns
void
Glyphs
Number
Glyphs
Number
(
theToIncludeFallback
:
boolean
)
:
Graphic3d_ZLayerId
Parameters
theToIncludeFallback:
boolean
Returns
Graphic3d_ZLayerId
Has
Symbol
Has
Symbol
(
theUChar
:
Standard_Utf32Char
)
:
boolean
Parameters
theUChar:
Standard_Utf32Char
Returns
boolean
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Init_
1
Init_
1
(
theFontPath
:
XCAFDoc_PartId
, theParams
:
Font_FTFontParams
, theFaceId
:
Graphic3d_ZLayerId
)
:
boolean
Parameters
theFontPath:
XCAFDoc_PartId
theParams:
Font_FTFontParams
theFaceId:
Graphic3d_ZLayerId
Returns
boolean
Init_
2
Init_
2
(
theData
:
Handle_NCollection_Buffer
, theFileName
:
XCAFDoc_PartId
, theParams
:
Font_FTFontParams
, theFaceId
:
Graphic3d_ZLayerId
)
:
boolean
Parameters
theData:
Handle_NCollection_Buffer
theFileName:
XCAFDoc_PartId
theParams:
Font_FTFontParams
theFaceId:
Graphic3d_ZLayerId
Returns
boolean
Init_
3
Init_
3
(
theFontPath
:
NCollection_String
, thePointSize
:
Aspect_VKeyFlags
, theResolution
:
Aspect_VKeyFlags
)
:
boolean
Parameters
theFontPath:
NCollection_String
thePointSize:
Aspect_VKeyFlags
theResolution:
Aspect_VKeyFlags
Returns
boolean
Init_
4
Init_
4
(
theFontName
:
NCollection_String
, theFontAspect
:
Font_FontAspect
, thePointSize
:
Aspect_VKeyFlags
, theResolution
:
Aspect_VKeyFlags
)
:
boolean
Parameters
theFontName:
NCollection_String
theFontAspect:
Font_FontAspect
thePointSize:
Aspect_VKeyFlags
theResolution:
Aspect_VKeyFlags
Returns
boolean
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
Is
Single
Stroke
Font
Is
Single
Stroke
Font
(
)
:
boolean
Returns
boolean
Is
Valid
Is
Valid
(
)
:
boolean
Returns
boolean
Line
Spacing
Line
Spacing
(
)
:
number
Returns
number
Point
Size
Point
Size
(
)
:
Aspect_VKeyFlags
Returns
Aspect_VKeyFlags
Release
Release
(
)
:
void
Returns
void
Render
Glyph
Render
Glyph
(
theChar
:
Standard_Utf32Char
)
:
boolean
Parameters
theChar:
Standard_Utf32Char
Returns
boolean
Set
Single
Stroke
Font
Set
Single
Stroke
Font
(
theIsSingleLine
:
boolean
)
:
void
Parameters
theIsSingleLine:
boolean
Returns
void
Set
Use
Unicode
Subset
Fallback
Set
Use
Unicode
Subset
Fallback
(
theToFallback
:
boolean
)
:
void
Parameters
theToFallback:
boolean
Returns
void
Set
Width
Scaling
Set
Width
Scaling
(
theScaleFactor
:
number
)
:
void
Parameters
theScaleFactor:
number
Returns
void
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
To
Synthesize
Italic
To
Synthesize
Italic
(
)
:
boolean
Returns
boolean
To
Use
Unicode
Subset
Fallback
To
Use
Unicode
Subset
Fallback
(
)
:
boolean
Returns
boolean
Width
Scaling
Width
Scaling
(
)
:
number
Returns
number
delete
delete
(
)
:
void
Returns
void
render
Glyph
Outline
render
Glyph
Outline
(
theChar
:
Standard_Utf32Char
)
:
FT_Outline
Parameters
theChar:
Standard_Utf32Char
Returns
FT_Outline
Static
Char
Subset
Char
Subset
(
theUChar
:
Standard_Utf32Char
)
:
Font_UnicodeSubset
Parameters
theUChar:
Standard_Utf32Char
Returns
Font_UnicodeSubset
Static
Find
And
Create
Find
And
Create
(
theFontName
:
XCAFDoc_PartId
, theFontAspect
:
Font_FontAspect
, theParams
:
Font_FTFontParams
, theStrictLevel
:
Font_StrictLevel
)
:
Handle_Font_FTFont
Parameters
theFontName:
XCAFDoc_PartId
theFontAspect:
Font_FontAspect
theParams:
Font_FTFontParams
theStrictLevel:
Font_StrictLevel
Returns
Handle_Font_FTFont
Static
Is
Char
From
Arabic
Is
Char
From
Arabic
(
theUChar
:
Standard_Utf32Char
)
:
boolean
Parameters
theUChar:
Standard_Utf32Char
Returns
boolean
Static
Is
Char
FromCJK
Is
Char
FromCJK
(
theUChar
:
Standard_Utf32Char
)
:
boolean
Parameters
theUChar:
Standard_Utf32Char
Returns
boolean
Static
Is
Char
From
Hiragana
Is
Char
From
Hiragana
(
theUChar
:
Standard_Utf32Char
)
:
boolean
Parameters
theUChar:
Standard_Utf32Char
Returns
boolean
Static
Is
Char
From
Katakana
Is
Char
From
Katakana
(
theUChar
:
Standard_Utf32Char
)
:
boolean
Parameters
theUChar:
Standard_Utf32Char
Returns
boolean
Static
Is
Char
From
Korean
Is
Char
From
Korean
(
theUChar
:
Standard_Utf32Char
)
:
boolean
Parameters
theUChar:
Standard_Utf32Char
Returns
boolean
Static
Is
Char
Right
To
Left
Is
Char
Right
To
Left
(
theUChar
:
Standard_Utf32Char
)
:
boolean
Parameters
theUChar:
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_
FTFont
constructor
Advance
X_
1
Advance
X_
2
Advance
Y_
1
Advance
Y_
2
Ascender
Bounding
Box
Decrement
Ref
Counter
Delete
Descender
Dynamic
Type
Find
And
Init
Get
Ref
Count
Glyph
Max
SizeX
Glyph
Max
SizeY
Glyph
Rect
Glyphs
Number
Has
Symbol
Increment
Ref
Counter
Init_
1
Init_
2
Init_
3
Init_
4
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Single
Stroke
Font
Is
Valid
Line
Spacing
Point
Size
Release
Render
Glyph
Set
Single
Stroke
Font
Set
Use
Unicode
Subset
Fallback
Set
Width
Scaling
This
To
Synthesize
Italic
To
Use
Unicode
Subset
Fallback
Width
Scaling
delete
render
Glyph
Outline
Char
Subset
Find
And
Create
Is
Char
From
Arabic
Is
Char
FromCJK
Is
Char
From
Hiragana
Is
Char
From
Katakana
Is
Char
From
Korean
Is
Char
Right
To
Left
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc