pub fn new(
        id: String,
        anchor: Anchor,
        x: f32,
        y: f32,
        z: f32,
        width: f32,
        height: f32,
        tab_order: i32,
    ) -> UiTransform {
        UiTransform {
            id,
            anchor,
            stretch: Stretch::NoStretch,
            local_x: x,
            local_y: y,
            local_z: z,
            width,
            height,
            tab_order,
            pixel_x: x,
            pixel_y: y,
            global_z: z,
            pixel_width: width,
            pixel_height: height,
            scale_mode: ScaleMode::Pixel,
            opaque: true,
            pd: PhantomData,
        }
    }
/// Creates a new UiTransform.
/// By default, it is considered opaque.
Creates a new UiTransform.
By default, it is considered opaque.
Creates a new UiTransform . By default it is considered opaque .
pub fn new(
        id: String,
        anchor: Anchor,
        x: f32,
        y: f32,
        z: f32,
        width: f32,
        height: f32,
        tab_order: i32,
    ) -> UiTransform {
        UiTransform {
            id,
            anchor,
            stretch: Stretch::NoStretch,
            local_x: x,
            local_y: y,
            local_z: z,
            width,
            height,
            tab_order,
            pixel_x: x,
            pixel_y: y,
            global_z: z,
            pixel_width: width,
            pixel_height: height,
            scale_mode: ScaleMode::Pixel,
            opaque: true,
            pd: PhantomData,
        }
    }
pub fn new ( id : String , anchor : Anchor , x : f32 , y : f32 , z : f32 , width : f32 , height : f32 , tab_order : i32 , ) -> UiTransform { UiTransform { id , anchor , stretch : Stretch :: NoStretch , local_x : x , local_y : y , local_z : z , width , height , tab_order , pixel_x : x , pixel_y : y , global_z : z , pixel_width : width , pixel_height : height , scale_mode : ScaleMode :: Pixel , opaque : true , pd : PhantomData , } }
Creates a new UiTransform.
Creates a new UiTransform .
id
String
anchor
Anchor
x
f32
y
f32
z
f32
width
f32
height
f32
tab_order
i32
id
String
anchor
Anchor
x
f32
y
f32
z
f32
width
f32
height
f32
tab_order
i32