Enum conrod::Place
[−]
[src]
pub enum Place { Middle, TopLeft, TopRight, BottomLeft, BottomRight, MidTop, MidBottom, MidLeft, MidRight, }
Place the widget at a position on the Canvas.
Variants
Middle | Centre of the Canvas. |
TopLeft | Top left of the Canvas - pad_top + pad_left. |
TopRight | Top right of the Canvas - pad_top - pad_right. |
BottomLeft | Bottom left of the Canvas + pad_bottom + pad_left. |
BottomRight | Bottom right of the Canvas + pad_bottom - pad_right. |
MidTop | Top centre of the Canvas - pad_top. |
MidBottom | Bottom centre of the Canvas + pad_bottom. |
MidLeft | Left centre of the Canvas + pad_left. |
MidRight | Right centre of the Canvas - pad_right. |