Quark
#
Modules #
quark/action
quark/app
quark/bubbles
quark/buffer
quark/checkbox
quark/css
quark/ctr
quark/dialog
quark/event
quark/font
quark/fs
quark/http
quark/index
quark/keyboard
quark/media
quark/nav
quark/os
quark/path
quark/pkg
quark/screen
quark/stepper
quark/storage
quark/test
quark/types
quark/util
quark/view
quark/window
quark/_common
quark/_event
quark/_ext
quark/_util
Quark v1.2.0 Documentation
Table of Contents
-
quark/types
- N
- Enum: Repeat
- Enum: FillPositionKind
- Enum: FillSizeKind
- BoxOriginKind
- Enum: Direction
- Enum: ItemsAlign
- Enum: CrossAlign
- Enum: Wrap
- Enum: WrapAlign
- Enum: Align
- Enum: BoxSizeKind
- Enum: TextValueKind
- Enum: TextAlign
- Enum: TextDecoration
- Enum: TextOverflow
- Enum: TextWhiteSpace
- Enum: TextWordBreak
- Enum: TextWeight
- Enum: TextWidth
- Enum: TextSlant
- TextStyle
- Enum: KeyboardType
- Enum: KeyboardReturnType
- Enum: CursorStyle
- Enum: FindDirection
- RepeatIn
- DirectionIn
- ItemsAlignIn
- CrossAlignIn
- WrapIn
- WrapAlignIn
- AlignIn
- TextAlignIn
- TextDecorationIn
- TextOverflowIn
- TextWhiteSpaceIn
- TextWordBreakIn
- TextWeightIn
- TextWidthIn
- TextSlantIn
- KeyboardTypeIn
- KeyboardReturnTypeIn
- CursorStyleIn
- FindDirectionIn
- Class: Base
- Class: Vec2
- Vec2In
- Class: Vec3
- Vec3In
- Class: Vec4
- Vec4In
- Class: Curve
- CurveIn
- Class: Rect
- RectIn
- Class: Mat
- MatIn
- Class: Mat4
- Class: Color
- ColorStrIn
- ColorIn
- Class: Shadow
- ShadowIn
- Class: BoxBorder
- BoxBorderIn
- Class: FillPosition
- FillPositionKindStr
- FillPositionIn
- Class: FillSize
- FillSizeKindStr
- FillSizeIn
- Class: BoxSize
- BoxSizeKindStr
- BoxSizeIn
- Class: BoxOrigin
- BoxOriginKindStr
- BoxOriginIn
- Class: TextBase
- Class: TextColor
- TextValueKindInStr
- TextColorIn
- Class: TextSize
- TextSizeIn
- TextLineHeightIn
- TextLineHeight
- Class: TextShadow
- TextShadowIn
- FFID
- Class: TextFamily
- EmptyFFID
- TextFamilyIn
- Class: BoxFilter
- BoxFilterIn
- Class: FillImage
- Class: FillGradientRadial
- Class: FillGradientLinear
- Class: BoxShadow
- BoxShadowIn
- newColor(r,g,b,a)
- newVec2(x,y)
- newVec3(x,y,z)
- newVec4(x,y,z,w)
- newRect(x,y,width,height)
- newMat(...value)
- newMat4(...value)
- newCurve(p1x,p1y,p2x,p2y)
- newShadow(x,y,size,r,g,b,a)
- newBoxBorder(width,r,b,a)
- newFillPosition(kink,value)
- newFillSize(kink,value)
- newBoxOrigin(kink,value)
- newBoxSize(kink,value)
- newTextColor(kink,r,g,b,a)
- newTextSize(kink,value)
- newTextLineHeight(kink,value)
- newTextShadow(kind,offset_x,offset_y,size,r,g,b,a)
- newTextFamily(kind,ffid?)
- parseRepeat(val,desc?)
- parseDirection(val,desc?)
- parseItemsAlign(val,desc?)
- parseCrossAlign(val,desc?)
- parseWrap(val,desc?)
- parseWrapAlign(val,desc?)
- parseAlign(val,desc?)
- parseTextAlign(val,desc?)
- parseTextDecoration(val,desc?)
- parseTextOverflow(val,desc?)
- parseTextWhiteSpace(val,desc?)
- parseTextWordBreak(val,desc?)
- parseTextWeight(val,desc?)
- parseTextWidth(val,desc?)
- parseTextSlant(val,desc?)
- parseKeyboardType(val,desc?)
- parseKeyboardReturnType(val,desc?)
- parseCursorStyle(val,desc?)
- parseFindDirection(val,desc?)
- parseVec2(val,desc?)
- parseVec3(val,desc?)
- parseVec4(val,desc?)
- parseCurve(val,desc?)
- parseRect(val,desc?)
- parseMat(val,desc?)
- parseMat4(val,desc?)
- parseColor(val,desc?,ref?)
- parseShadow(val,desc?,ref?)
- parseBoxBorder(val,desc?)
- parseFillPosition(val,desc?)
- parseFillSize(val,desc?)
- parseBoxOrigin(val,desc?)
- parseBoxSize(val,desc?)
- parseTextColor(val,desc?)
- parseTextSize(val,desc?)
- parseTextLineHeight(val,desc?)
- parseTextShadow(val,desc?)
- parseTextFamily(val,desc?)
- parseBoxFilter(val,desc?)
- parseBoxShadow(val,desc?)
- parseBoxFilterPtr
- parseBoxShadowPtr
quark/types #
N #
@type
N
=number
Enum: Repeat #
Repeat #
Repeat
RepeatX
RepeatY
RepeatNo
Enum: FillPositionKind #
FillPositionKind #
Value
Explicit ValueRatio
Percentage valueStart
Starting positionEnd
Ending positionCenter
Centered position
Enum: FillSizeKind #
FillSizeKind #
Auto
Auto valueValue
Explicit ValueRatio
Percentage value
BoxOriginKind #
@type
BoxOriginKind
=FillSizeKind
Enum: Direction #
Direction #
Flex Layout direction
Row
RowReverse
Column
ColumnReverse
Enum: ItemsAlign #
ItemsAlign #
项目在主轴上的对齐方式
Start
左对齐Center
居中End
右对齐SpaceBetween
两端对齐,项目之间的间隔都相等SpaceAround
每个项目两侧的间隔相等。所以,项目之间的间隔比项目与边框的间隔大一倍SpaceEvenly
每个项目两侧的间隔相等,这包括边框的间距CenterCenter
把除两端以外的所有项目尽可能的居中对齐
Enum: CrossAlign #
CrossAlign #
项目在交叉轴内如何对齐
Enum: Wrap #
Wrap #
主轴溢出包裹,开启后当主轴溢出时分裂成多根交叉轴
NoWrap
只有一根交叉轴线Wrap
溢出后会有多根交叉轴线WrapReverse
多根交叉轴线反向排列
Enum: WrapAlign #
WrapAlign #
多根交叉轴线的对齐方式。如果项目只有一根交叉轴,该属性不起作用
Start
与交叉轴的起点对齐Center
与交叉轴的中点对齐End
与交叉轴的终点对齐SpaceBetween
与交叉轴两端对齐,轴线之间的间隔平均分布SpaceAround
每根轴线两侧的间隔都相等,所以轴线之间的间隔比轴线与边框的间隔大一倍SpaceEvenly
每根轴线两侧的间隔都相等,这包括边框的间距Stretch
=7
轴线占满整个交叉轴,平均分配剩余的交叉轴空间
Enum: Align #
Align #
View align
Normal
Start
Center
End
Both
NewStart
=Both
New independent line and left alignNewCenter
New independent line and center alignNewEnd
New independent line and right alignFloatStart
Try not to wrap until the maximum limit and left alignFloatCenter
Try not to wrap until the maximum limit and center alignFloatEnd
Try not to wrap until the maximum limit and right alignBaseline
=Normal
box vertical align in textTop
box vertical align in textMiddle
box vertical align in textBottom
box vertical align in textLeftTop
=Start
CenterTop
RightTop
LeftMiddle
CenterMiddle
RightMiddle
LeftBottom
CenterBottom
RightBottom
Enum: BoxSizeKind #
BoxSizeKind #
The width/height value kind for the Box
None
Do not use valueAuto
包裹内容 wrap contentMatch
匹配父视图 match parentValue
明确值 remRatio
百分比 value %Minus
减法(parent-value) value !
Enum: TextValueKind #
TextValueKind #
Basic type for the Text attributes
Inherit
Default
Value
Enum: TextAlign #
TextAlign #
Inherit
inheritLeft
左对齐Center
居中Right
右对齐Default
=Left
Enum: TextDecoration #
TextDecoration #
Inherit
inheritNone
没有Overline
上划线LineThrough
中划线Underline
下划线Default
=None
Enum: TextOverflow #
TextOverflow #
Inherit
inheritNormal
不做任何处理Clip
剪切Ellipsis
剪切并显示省略号EllipsisCenter
剪切并居中显示省略号Default
=Normal
Enum: TextWhiteSpace #
TextWhiteSpace #
Inherit
inheritNormal
合并空白序列,使用自动wrapNoWrap
合并空白序列,不使用自动wrapPre
保留所有空白,不使用自动wrapPreWrap
保留所有空白,使用自动wrapPreLine
合并空白符序列,但保留换行符,使用自动wrapDefault
=Normal
Enum: TextWordBreak #
TextWordBreak #
Inherit
inheritNormal
保持单词在同一行BreakWord
保持单词在同一行,除非单词长度超过一行才截断BreakAll
以字为单位行空间不足换行KeepAll
所有连续的字符都当成一个单词,除非出现空白符、换行符、标点符Default
=Normal
Enum: TextWeight #
TextWeight #
Inherit
Thin
Ultralight
Light
Regular
Medium
Semibold
Bold
Heavy
Black
ExtraBlack
Default
=Regular
Enum: TextWidth #
TextWidth #
Inherit
UltraCondensed
ExtraCondensed
Condensed
SemiCondensed
Normal
SemiExpanded
Expanded
ExtraExpanded
UltraExpanded
Default
=Normal
Enum: TextSlant #
TextSlant #
Inherit
Normal
Italic
Oblique
Default
=Normal
TextStyle #
@type
TextStyle
=number
Enum: KeyboardType #
KeyboardType #
Normal
Ascii
Number
Url
NumberPad
Phone
NamePhone
Email
Decimal
Search
AsciiNumber
Enum: KeyboardReturnType #
KeyboardReturnType #
Normal
Go
Join
Next
Route
Search
Send
Done
Emergency
Continue
Enum: CursorStyle #
CursorStyle #
Normal
None
NoneUntilMouseMoves
Arrow
Ibeam
PointingHand
Pointer
ClosedHand
OpenHand
ResizeLeft
ResizeRight
ResizeLeftRight
ResizeUp
ResizeDown
ResizeUpDown
Crosshair
DisappearingItem
OperationNotAllowed
DragLink
DragCopy
ContextualMenu
IbeamForVertical
Enum: FindDirection #
FindDirection #
None
Left
Top
Right
Bottom
RepeatIn #
@type
RepeatIn
="repeat"
|"repeatX"
|"repeatY"
|"repeatNo"
|Repeat
DirectionIn #
@type
DirectionIn
="row"
|"rowReverse"
|"column"
|"columnReverse"
|Direction
ItemsAlignIn #
@type
ItemsAlignIn
="start"
|"center"
|"end"
|"spaceBetween"
|"spaceAround"
|"spaceEvenly"
|"centerCenter"
|ItemsAlign
CrossAlignIn #
@type
CrossAlignIn
="start"
|"center"
|"end"
|"both"
|CrossAlign
WrapIn #
@type
WrapIn
="noWrap"
|"wrap"
|"wrapReverse"
|Wrap
WrapAlignIn #
@type
WrapAlignIn
="start"
|"center"
|"end"
|"spaceBetween"
|"spaceAround"
|"spaceEvenly"
|"stretch"
|WrapAlign
AlignIn #
@type
AlignIn
="normal"
|"start"
|"center"
|"end"
|"both"
|"newStart"
|"newCenter"
|"newEnd"
|"floatStart"
|"floatCenter"
|"floatEnd"
|"baseline"
|"top"
|"middle"
|"bottom"
|"leftTop"
|"centerTop"
|"rightTop"
|"leftMiddle"
|"centerMiddle"
|"rightMiddle"
|"leftBottom"
|"centerBottom"
|"rightBottom"
|Align
TextAlignIn #
@type
TextAlignIn
="center"
|"inherit"
|"left"
|"right"
|"default"
|TextAlign
TextDecorationIn #
@type
TextDecorationIn
="inherit"
|"default"
|"none"
|"overline"
|"lineThrough"
|"underline"
|TextDecoration
TextOverflowIn #
@type
TextOverflowIn
="normal"
|"inherit"
|"default"
|"clip"
|"ellipsis"
|"ellipsisCenter"
|TextOverflow
TextWhiteSpaceIn #
@type
TextWhiteSpaceIn
="noWrap"
|"normal"
|"inherit"
|"default"
|"pre"
|"preWrap"
|"preLine"
|TextWhiteSpace
TextWordBreakIn #
@type
TextWordBreakIn
="normal"
|"inherit"
|"default"
|"breakWord"
|"breakAll"
|"keepAll"
|TextWordBreak
TextWeightIn #
@type
TextWeightIn
="inherit"
|"default"
|"thin"
|"ultralight"
|"light"
|"regular"
|"medium"
|"semibold"
|"bold"
|"heavy"
|"black"
|"extraBlack"
|TextWeight
TextWidthIn #
@type
TextWidthIn
="normal"
|"inherit"
|"default"
|"ultraCondensed"
|"extraCondensed"
|"condensed"
|"semiCondensed"
|"semiExpanded"
|"expanded"
|"extraExpanded"
|"ultraExpanded"
|TextWidth
TextSlantIn #
@type
TextSlantIn
="normal"
|"inherit"
|"default"
|"italic"
|"oblique"
|TextSlant
KeyboardTypeIn #
@type
KeyboardTypeIn
="number"
|"normal"
|"ascii"
|"url"
|"numberPad"
|"phone"
|"namePhone"
|"email"
|"decimal"
|"search"
|"asciiNumber"
|KeyboardType
KeyboardReturnTypeIn #
@type
KeyboardReturnTypeIn
="normal"
|"search"
|"go"
|"join"
|"next"
|"route"
|"send"
|"done"
|"emergency"
|"continue"
|KeyboardReturnType
CursorStyleIn #
@type
CursorStyleIn
="normal"
|"none"
|"noneUntilMouseMoves"
|"arrow"
|"ibeam"
|"pointingHand"
|"pointer"
|"closedHand"
|"openHand"
|"resizeLeft"
|"resizeRight"
|"resizeLeftRight"
|"resizeUp"
|"resizeDown"
|"resizeUpDown"
|"crosshair"
|"disappearingItem"
|"operationNotAllowed"
|"dragLink"
|"dragCopy"
|"contextualMenu"
|"ibeamForVertical"
|CursorStyle
FindDirectionIn #
@type
FindDirectionIn
="none"
|"left"
|"top"
|"right"
|"bottom"
|FindDirection
Class: Base #
Base #
@template
<T
>
base.toString() #
base.toStringStyled(indent?) #
@param
indent?
:number
Class: Vec2 #
Vec2 #
vec2.x #
x
:N
vec2.y #
y
:N
Vec2In #
Class: Vec3 #
Vec3 #
vec3.x #
x
:N
vec3.y #
y
:N
vec3.z #
z
:N
Vec3In #
Class: Vec4 #
Vec4 #
vec4.x #
x
:N
vec4.y #
y
:N
vec4.z #
z
:N
vec4.w #
w
:N
Vec4In #
Class: Curve #
Curve #
curve.p1 #
p1
:Vec2
curve.p2 #
p2
:Vec2
curve.p1x #
@get
p1x
:N
curve.p1y #
@get
p1y
:N
curve.p2x #
@get
p2x
:N
curve.p2y #
@get
p2y
:N
CurveIn #
@type
CurveIn
="linear"
|"ease"
|"easeIn"
|"easeOut"
|"easeInOut"
|"curve(0,0,1,1)"
|[0,0,1,1]
|Curve
Class: Rect #
Rect #
rect.origin #
origin
:Vec2
rect.size #
size
:Vec2
rect.x #
@get
x
:N
rect.y #
@get
y
:N
rect.width #
@get
width
:N
rect.height #
@get
height
:N
RectIn #
@type
RectIn
="rect(0,0,100,100)"
|"rect(0,0)"
|[0,0,100,100]
|Rect
Class: Mat #
Mat #
mat.m0 #
m0
:N
mat.m1 #
m1
:N
mat.m2 #
m2
:N
mat.m3 #
m3
:N
mat.m4 #
m4
:N
mat.m5 #
m5
:N
MatIn #
Class: Mat4 #
Mat4 #
mat4.m0 #
m0
:N
mat4.m1 #
m1
:N
mat4.m2 #
m2
:N
mat4.m3 #
m3
:N
mat4.m4 #
m4
:N
mat4.m5 #
m5
:N
mat4.m6 #
m6
:N
mat4.m7 #
m7
:N
mat4.m8 #
m8
:N
mat4.m9 #
m9
:N
mat4.m10 #
m10
:N
mat4.m11 #
m11
:N
mat4.m12 #
m12
:N
mat4.m13 #
m13
:N
mat4.m14 #
m14
:N
mat4.m15 #
m15
:N
Class: Color #
Color #
color.r #
r
:N
color.g #
g
:N
color.b #
b
:N
color.a #
a
:N
ColorStrIn #
@type
ColorStrIn
="#fff"
|"rgb(0,0,0)"
|"rgba(0,0,0,255)"
ColorIn #
@type
ColorIn
=ColorStrIn
|N
|Color
Class: Shadow #
Shadow #
shadow.x #
x
:N
shadow.y #
y
:N
shadow.size #
size
:N
shadow.color #
color
:Color
shadow.r #
@get
r
:N
shadow.g #
@get
g
:N
shadow.b #
@get
b
:N
shadow.a #
@get
a
:N
ShadowIn #
@type
ShadowIn
="2 2 2 rgb(100,100,100)"
|Shadow
Class: BoxBorder #
BoxBorder #
boxborder.width #
width
:N
boxborder.color #
color
:Color
boxborder.r #
@get
r
:N
boxborder.g #
@get
g
:N
boxborder.b #
@get
b
:N
boxborder.a #
@get
a
:N
BoxBorderIn #
@type
BoxBorderIn
="1 rgb(100,100,100)"
|BoxBorder
Class: FillPosition #
FillPosition #
@extends
Base
<FillPosition
>
fillposition.value #
value
:N
fillposition.kind #
kind
:FillPositionKind
FillPositionKindStr #
@type
FillPositionKindStr
="start"
|"end"
|"center"
FillPositionIn #
@type
FillPositionIn
=N
|FillPosition
Class: FillSize #
FillSize #
fillsize.value #
value
:N
fillsize.kind #
kind
:FillSizeKind
FillSizeKindStr #
@type
FillSizeKindStr
="auto"
FillSizeIn #
@type
FillSizeIn
=N
|FillSize
|"50%"
|FillSizeKindStr
Class: BoxSize #
BoxSize #
boxsize.value #
value
:N
boxsize.kind #
kind
:BoxSizeKind
BoxSizeKindStr #
@type
BoxSizeKindStr
="auto"
|"none"
|"match"
BoxSizeIn #
@type
BoxSizeIn
=N
|BoxSize
|"50%"
|"100!"
|BoxSizeKindStr
Class: BoxOrigin #
BoxOrigin #
boxorigin.value #
value
:N
boxorigin.kind #
kind
:BoxOriginKind
BoxOriginKindStr #
@type
BoxOriginKindStr
=FillSizeKindStr
BoxOriginIn #
@type
BoxOriginIn
=N
|BoxOrigin
|"50%"
|BoxOriginKindStr
Class: TextBase #
TextBase #
@template
<Derived
,Value
>@extends
Base
<Derived
>
textbase.value #
value
:Value
textbase.kind #
kind
:TextValueKind
Class: TextColor #
TextColor #
textcolor.r #
@get
r
:N
textcolor.g #
@get
g
:N
textcolor.b #
@get
b
:N
textcolor.a #
@get
a
:N
TextValueKindInStr #
@type
TextValueKindInStr
="inherit"
|"default"
TextColorIn #
@type
TextColorIn
=TextValueKindInStr
|ColorIn
|TextColor
Class: TextSize #
TextSize #
TextSizeIn #
@type
TextSizeIn
=TextValueKindInStr
|N
|TextSize
TextLineHeightIn #
@type
TextLineHeightIn
=TextSizeIn
TextLineHeight #
@type
TextLineHeight
=TextSize
Class: TextShadow #
TextShadow #
@extends
TextBase
<TextShadow
,Shadow
>
textshadow.x #
@get
x
:N
textshadow.y #
@get
y
:N
textshadow.size #
@get
size
:N
textshadow.color #
@get
color
:Color
textshadow.r #
@get
r
:N
textshadow.g #
@get
g
:N
textshadow.b #
@get
b
:N
textshadow.a #
@get
a
:N
TextShadowIn #
@type
TextShadowIn
=TextValueKindInStr
|ShadowIn
|TextShadow
FFID #
@type
FFID
=Uint8Array
Class: TextFamily #
TextFamily #
@extends
TextBase
<TextFamily
,FFID
>
textfamily.families() #
@return
string
EmptyFFID #
@const
EmptyFFID
:FFID
TextFamilyIn #
@type
TextFamilyIn
=TextValueKindInStr
|string
|TextFamily
Class: BoxFilter #
BoxFilter #
@abstract
boxfilter.type #
@get
type
:N
boxfilter.next #
BoxFilterIn #
For example:
image(res/image.png, auto 100%, x=start, y=20%, repeat)
radial(#ff00ff 0%, #ff0 50%, #00f 100%)
linear(90, #ff00ff 0%, #ff0 50%, #00f 100%)
Class: FillImage #
FillImage #
@extends
BoxFilter
fillimage.src #
src
:string
fillimage.width #
width
:FillSize
fillimage.height #
height
:FillSize
fillimage.x #
x
:FillPosition
fillimage.y #
y
:FillPosition
fillimage.repeat #
repeat
:Repeat
fillimage.constructor(src,init?) #
Class: FillGradientRadial #
FillGradientRadial #
@extends
BoxFilter
fillgradientradial.positions #
@get
positions
:N
[]
fillgradientradial.colors #
@get
colors
:Color
[]
fillgradientradial.constructor(pos,colors) #
Class: FillGradientLinear #
FillGradientLinear #
@extends
FillGradientRadial
fillgradientlinear.angle #
angle
:N
fillgradientlinear.constructor(pos,coloes,angle) #
Class: BoxShadow #
BoxShadow #
@extends
BoxFilter
boxshadow.value #
value
:Shadow
boxshadow.constructor(value) #
@param
value
:Shadow
BoxShadowIn #
For example:
10 10 2 #ff00aa
['10 10 2 #ff00aa']
10 10 2 rgba(255,255,0,255)
newColor(r,g,b,a) #
newVec2(x,y) #
newVec3(x,y,z) #
newVec4(x,y,z,w) #
newRect(x,y,width,height) #
newMat(...value) #
newMat4(...value) #
newCurve(p1x,p1y,p2x,p2y) #
newShadow(x,y,size,r,g,b,a) #
@param
x
:N
@param
y
:N
@param
size
:N
@param
r
:N
@param
g
:N
@param
b
:N
@param
a
:N
@return
Shadow
newBoxBorder(width,r,b,a) #
newFillPosition(kink,value) #
@param
kink
:FillPositionKind
@param
value
:N
@return
FillPosition
@param
kind
:FillPositionKind
newFillSize(kink,value) #
@param
kink
:FillSizeKind
@param
value
:N
@return
FillSize
@param
kind
:FillSizeKind
newBoxOrigin(kink,value) #
@param
kink
:BoxOriginKind
@param
value
:N
@return
BoxOrigin
@param
kind
:BoxOriginKind
newBoxSize(kink,value) #
@param
kink
:BoxSizeKind
@param
value
:N
@return
BoxSize
@param
kind
:BoxSizeKind
newTextColor(kink,r,g,b,a) #
@param
kink
:TextValueKind
@param
r
:N
@param
g
:N
@param
b
:N
@param
a
:N
@return
TextColor
@param
kind
:TextValueKind
newTextSize(kink,value) #
@param
kink
:TextValueKind
@param
value
:N
@return
TextSize
@param
kind
:TextValueKind
newTextLineHeight(kink,value) #
@param
kink
:TextValueKind
@param
value
:N
@return
TextLineHeight
newTextShadow(kind,offset_x,offset_y,size,r,g,b,a) #
@param
kind
:TextValueKind
@param
offset_x
:N
@param
offset_y
:N
@param
size
:N
@param
r
:N
@param
g
:N
@param
b
:N
@param
a
:N
@return
TextShadow
newTextFamily(kind,ffid?) #
@param
kind
:TextValueKind
@param
ffid?
:FFID
@return
TextFamily
parseRepeat(val,desc?) #
parseDirection(val,desc?) #
@param
val
:DirectionIn
@param
desc?
:string
@return
Direction
parseItemsAlign(val,desc?) #
@param
val
:ItemsAlignIn
@param
desc?
:string
@return
ItemsAlign
parseCrossAlign(val,desc?) #
@param
val
:CrossAlignIn
@param
desc?
:string
@return
CrossAlign
parseWrap(val,desc?) #
parseWrapAlign(val,desc?) #
@param
val
:WrapAlignIn
@param
desc?
:string
@return
WrapAlign
parseAlign(val,desc?) #
parseTextAlign(val,desc?) #
@param
val
:TextAlignIn
@param
desc?
:string
@return
TextAlign
parseTextDecoration(val,desc?) #
@param
val
:TextDecorationIn
@param
desc?
:string
@return
TextDecoration
parseTextOverflow(val,desc?) #
@param
val
:TextOverflowIn
@param
desc?
:string
@return
TextOverflow
parseTextWhiteSpace(val,desc?) #
@param
val
:TextWhiteSpaceIn
@param
desc?
:string
@return
TextWhiteSpace
parseTextWordBreak(val,desc?) #
@param
val
:TextWordBreakIn
@param
desc?
:string
@return
TextWordBreak
parseTextWeight(val,desc?) #
@param
val
:TextWeightIn
@param
desc?
:string
@return
TextWeight
parseTextWidth(val,desc?) #
@param
val
:TextWidthIn
@param
desc?
:string
@return
TextWidth
parseTextSlant(val,desc?) #
@param
val
:TextSlantIn
@param
desc?
:string
@return
TextSlant
parseKeyboardType(val,desc?) #
@param
val
:KeyboardTypeIn
@param
desc?
:string
@return
KeyboardType
parseKeyboardReturnType(val,desc?) #
@param
val
:KeyboardReturnTypeIn
@param
desc?
:string
@return
KeyboardReturnType
parseCursorStyle(val,desc?) #
@param
val
:CursorStyleIn
@param
desc?
:string
@return
CursorStyle
parseFindDirection(val,desc?) #
@param
val
:FindDirectionIn
@param
desc?
:string
@return
FindDirection
parseVec2(val,desc?) #
parseVec3(val,desc?) #
parseVec4(val,desc?) #
parseCurve(val,desc?) #
parseRect(val,desc?) #
parseMat(val,desc?) #
parseMat4(val,desc?) #
parseColor(val,desc?,ref?) #
parseShadow(val,desc?,ref?) #
parseBoxBorder(val,desc?) #
@param
val
:BoxBorderIn
@param
desc?
:string
@return
BoxBorder
parseFillPosition(val,desc?) #
@param
val
:FillPositionIn
@param
desc?
:string
@return
FillPosition
parseFillSize(val,desc?) #
@param
val
:FillSizeIn
@param
desc?
:string
@return
FillSize
parseBoxOrigin(val,desc?) #
@param
val
:BoxOriginIn
@param
desc?
:string
@return
BoxOrigin
parseBoxSize(val,desc?) #
parseTextColor(val,desc?) #
@param
val
:TextColorIn
@param
desc?
:string
@return
TextColor
parseTextSize(val,desc?) #
@param
val
:TextSizeIn
@param
desc?
:string
@return
TextSize
parseTextLineHeight(val,desc?) #
@param
val
:TextLineHeightIn
@param
desc?
:string
@return
TextLineHeight
parseTextShadow(val,desc?) #
@param
val
:TextShadowIn
@param
desc?
:string
@return
TextShadow
parseTextFamily(val,desc?) #
@param
val
:TextFamilyIn
@param
desc?
:string
@return
TextFamily
parseBoxFilter(val,desc?) #
@param
val
:BoxFilterIn
@param
desc?
:string
@return
BoxFilter
parseBoxShadow(val,desc?) #
@param
val
:BoxShadowIn
@param
desc?
:string
@return
BoxShadow
parseBoxFilterPtr #
@type
parseBoxFilterPtr
=parseBoxFilter
parseBoxShadowPtr #
@type
parseBoxShadowPtr
=parseBoxShadow