Enum dotavious::attributes::ImagePosition [−][src]
pub enum ImagePosition {
TopLeft,
TopCentered,
TopRight,
MiddleLeft,
MiddleCentered,
MiddleRight,
BottomLeft,
BottomCentered,
BottomRight,
}
Expand description
Controls how an image is positioned within its containing node. Only has an effect when the image is smaller than the containing node.
The default is to be centered both horizontally and vertically.
Variants
Trait Implementations
Performs the conversion.