Struct artano::Annotation [−][src]
Fields
text: String
position: Position
Methods
impl Annotation
[src]
impl Annotation
pub fn top<T: Into<String>>(text: T) -> Annotation
[src]
pub fn top<T: Into<String>>(text: T) -> Annotation
pub fn middle<T: Into<String>>(text: T) -> Annotation
[src]
pub fn middle<T: Into<String>>(text: T) -> Annotation
pub fn bottom<T: Into<String>>(text: T) -> Annotation
[src]
pub fn bottom<T: Into<String>>(text: T) -> Annotation
pub fn render_text(
&self,
pixels: &mut DynamicImage,
font: &Font,
scale_factor: f32,
c_width: u32,
c_height: u32
)
[src]
pub fn render_text(
&self,
pixels: &mut DynamicImage,
font: &Font,
scale_factor: f32,
c_width: u32,
c_height: u32
)
Trait Implementations
impl Debug for Annotation
[src]
impl Debug for Annotation
Auto Trait Implementations
impl Send for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Sync for Annotation