Search
Preparing search index...
The search index is not available
博锐尚格绘制引擎
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
SFont
Class SFont
字体
author
庞利祥(
sybotan@126.com
)
Hierarchy
SFont
Index
Constructors
constructor
Properties
name
size
text
Align
text
Base
Line
text
Direction
Constructors
constructor
new SFont
(
)
:
SFont
new SFont
(
font
:
SFont
)
:
SFont
new SFont
(
name
:
string
, size
?:
undefined
|
number
)
:
SFont
构造函数
Returns
SFont
构造函数
Parameters
font:
SFont
FONT
Returns
SFont
构造函数
Parameters
name:
string
字体
Optional
size:
undefined
|
number
字号
Returns
SFont
Properties
name
name
:
string
= "sans-serif"
字体
size
size
:
number
= 16
字号
text
Align
text
Align
:
STextAlign
= STextAlign.Start
文本对齐选项
Readonly
text
Base
Line
text
Base
Line
:
Top
= STextBaseLine.Top
文本基线对齐选项
text
Direction
text
Direction
:
STextDirection
= STextDirection.Inherit
文本方向
Globals
SFont
constructor
name
size
text
Align
text
Base
Line
text
Direction
字体
庞利祥(sybotan@126.com)