未翻訳
このページはまだ翻訳されていません。原文の内容が表示されています。
direction
The four directions into which content can be laid out.
Possible values are:
ltr
: Left to right.rtl
: Right to left.ttb
: Top to bottom.btt
: Bottom to top.
These values are available globally and also in the direction type's scope, so you can write either of the following two:
#stack(dir: rtl)[A][B][C]
#stack(dir: direction.rtl)[A][B][C]

定義Functions and types and can have associated definitions. These are accessed by specifying the function or type, followed by a period, and then the definition's name.
Functions and types and can have associated definitions. These are accessed by specifying the function or type, followed by a period, and then the definition's name.
axis
The axis this direction belongs to, either "horizontal"
or
"vertical"
.
例を表示
#ltr.axis() \
#ttb.axis()

start
The start point of this direction, as an alignment.
例を表示
#ltr.start() \
#rtl.start() \
#ttb.start() \
#btt.start()

end
The end point of this direction, as an alignment.
例を表示
#ltr.end() \
#rtl.end() \
#ttb.end() \
#btt.end()
