pub struct FreeTextAnnotation {
pub default_appearance: Option<String>,
pub quadding: u8,
pub rich_content: Option<String>,
pub default_style: Option<String>,
pub callout_line: Option<Vec<f64>>,
pub intent: Option<String>,
pub rect_diff: Option<[f64; 4]>,
pub line_ending: Option<String>,
}Expand description
/Subtype /FreeText — visible text on the page.
Fields§
§default_appearance: Option<String>/DA — default appearance string (graphics state ops + font).
quadding: u8/Q — quadding (text alignment): 0 = left, 1 = center, 2 = right.
rich_content: Option<String>/RC — rich content as XHTML/XFA fragment.
default_style: Option<String>/DS — default style string.
callout_line: Option<Vec<f64>>/CL — callout line points (4 or 6 numbers).
intent: Option<String>/IT — intent (/FreeTextCallout, /FreeTextTypeWriter).
rect_diff: Option<[f64; 4]>/RD — rect difference (border padding inside Rect).
line_ending: Option<String>/LE — line ending style (callout’s start).
Trait Implementations§
Source§impl Clone for FreeTextAnnotation
impl Clone for FreeTextAnnotation
Source§fn clone(&self) -> FreeTextAnnotation
fn clone(&self) -> FreeTextAnnotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FreeTextAnnotation
impl Debug for FreeTextAnnotation
Source§impl Default for FreeTextAnnotation
impl Default for FreeTextAnnotation
Source§fn default() -> FreeTextAnnotation
fn default() -> FreeTextAnnotation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FreeTextAnnotation
impl RefUnwindSafe for FreeTextAnnotation
impl Send for FreeTextAnnotation
impl Sync for FreeTextAnnotation
impl Unpin for FreeTextAnnotation
impl UnsafeUnpin for FreeTextAnnotation
impl UnwindSafe for FreeTextAnnotation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more