pub type ImageData = Image;Expand description
Owned shareable image data.
Aliased Type§
struct ImageData {
pub data: Blob<u8>,
pub format: ImageFormat,
pub width: u32,
pub height: u32,
pub x_extend: Extend,
pub y_extend: Extend,
pub quality: ImageQuality,
pub alpha: f32,
}Fields§
§data: Blob<u8>Blob containing the image data.
format: ImageFormatPixel format of the image.
width: u32Width of the image.
height: u32Height of the image.
x_extend: ExtendExtend mode in the horizontal direction.
y_extend: ExtendExtend mode in the vertical direction.
quality: ImageQualityHint for desired rendering quality.
alpha: f32An additional alpha multiplier to use with the image.