Struct flo_canvas::CanvasFontFace [−][src]
pub struct CanvasFontFace { /* fields omitted */ }Expand description
Representation of a font face
This class acquires more features if the outline-fonts feature is turned on for
this crate.
Implementations
Creates a new font by loading the fonts from a slice
Creates a new font by loading the fonts from a byte array
Trait Implementations
fn deserialize<D>(deserializer: D) -> Result<CanvasFontFace, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<CanvasFontFace, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more