Type Alias CursorImage

Source
pub type CursorImage = GenericCursorImage<Image, Number>;
Expand description

A computed value for item of image cursors.

Aliased Type§

#[repr(C)]
pub struct CursorImage { pub image: GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, pub has_hotspot: bool, pub hotspot_x: f32, pub hotspot_y: f32, }

Fields§

§image: GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>

The url to parse images from.

§has_hotspot: bool

Whether the image has a hotspot or not.

§hotspot_x: f32

The x coordinate.

§hotspot_y: f32

The y coordinate.