#[repr(C)]pub struct ArkUI_ScaleOptions {
pub x: f32,
pub y: f32,
pub z: f32,
pub centerX: f32,
pub centerY: f32,
}Available on crate feature
api-12 only.Expand description
@brief Defines the scaling options for component transition.
@since 12
Fields§
§x: f32Scale ratio along the x-axis.
y: f32Scale ratio along the y-axis.
z: f32Scale factor along the z-axis (not effective for the current 2D graphics).
centerX: f32X coordinate of the center point.
centerY: f32Y coordinate of the center point.
Auto Trait Implementations§
impl Freeze for ArkUI_ScaleOptions
impl RefUnwindSafe for ArkUI_ScaleOptions
impl Send for ArkUI_ScaleOptions
impl Sync for ArkUI_ScaleOptions
impl Unpin for ArkUI_ScaleOptions
impl UnwindSafe for ArkUI_ScaleOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more