Struct asefile::Slice9 [−][src]
pub struct Slice9 { pub center_x: i32, pub center_y: i32, pub center_width: u32, pub center_height: u32, }
Expand description
A devision of a Slice into nine regions for 9-slice scaling.
Fields
center_x: i32
X position of the center area (relative to slice bounds).
center_y: i32
Y position of the center area (relative to slice bounds).
center_width: u32
Width of the center area.
center_height: u32
Height of the center area.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Slice9
impl UnwindSafe for Slice9
Blanket Implementations
Mutably borrows from an owned value. Read more