pub struct ExtGState {
pub line_width: Option<f64>,
pub dash_pattern: Option<DashPattern>,
pub stroke_alpha: Option<f64>,
pub fill_alpha: Option<f64>,
pub font: Option<(String, f64)>,
}Expand description
Extended Graphics State parameters (from gs operator).
Represents the parsed contents of an ExtGState dictionary. All fields are optional — only present entries override the current graphics state.
Fields§
§line_width: Option<f64>/LW — Line width override.
dash_pattern: Option<DashPattern>/D — Dash pattern override.
stroke_alpha: Option<f64>/CA — Stroking alpha (opacity).
fill_alpha: Option<f64>/ca — Non-stroking alpha (opacity).
font: Option<(String, f64)>/Font — Font name and size override (font_name, font_size).
Trait Implementations§
impl StructuralPartialEq for ExtGState
Auto Trait Implementations§
impl Freeze for ExtGState
impl RefUnwindSafe for ExtGState
impl Send for ExtGState
impl Sync for ExtGState
impl Unpin for ExtGState
impl UnsafeUnpin for ExtGState
impl UnwindSafe for ExtGState
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