Skip to main content

Drawable

Type Alias Drawable 

pub type Drawable = RCHandle<SkDrawable>;
Expand description

Base-class for objects that draw into Canvas.

The object has a generation ID, which is guaranteed to be unique across all drawables. To allow for clients of the drawable that may want to cache the results, the drawable must change its generation ID whenever its internal state changes such that it will draw differently.

Aliased Typeยง

pub struct Drawable(/* private fields */);