|
39.
|
|
|
Positions are used to specify locations relative to the upper-left corner of the containing area. (For positions, the containing area is given by the layout the displayable is in, if one is given, or the screen otherwise. For anchors, the containing area is the size of the displayable itself.)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:108
|
|
40.
|
|
|
The way a position value is interpreted depends on the type of the value:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:114
|
|
41.
|
|
|
int (like 0, 1, 37, or 42)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:118
|
|
42.
|
|
|
An integer is interpreted as the number of pixels from the left or top side of the containing area.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:118
|
|
43.
|
|
|
float (like 0.0, 0.5, or 1.0)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:123
|
|
44.
|
|
|
A floating-point number is interpreted as a fraction of the containing area. For example, 0.5 is a point halfway between the sides of the containing area, while 1.0 is on the right or bottom side.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:121
|
|
45.
|
|
|
renpy.absolute (like renpy.absolute(100.25))
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:128
|
|
46.
|
|
|
A renpy.absolute number is interpreted as the number of pixels from the left or top side of the screen, when using subpixel-precise rendering.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:126
|
|
47.
|
|
|
`displayable`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:131
|
|
48.
|
|
|
Any displayable.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style_properties.rst:131
|