pub struct PdfPageImageObject<'a> { /* private fields */ }Auto Trait Implementations
impl<'a> !RefUnwindSafe for PdfPageImageObject<'a>
impl<'a> !Send for PdfPageImageObject<'a>
impl<'a> !Sync for PdfPageImageObject<'a>
impl<'a> Unpin for PdfPageImageObject<'a>
impl<'a> !UnwindSafe for PdfPageImageObject<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, T> PdfPageObjectCommon<'a> for T where
T: PdfPageObjectPrivate<'a>,
impl<'a, T> PdfPageObjectCommon<'a> for T where
T: PdfPageObjectPrivate<'a>,
sourcefn has_transparency(&self) -> bool
fn has_transparency(&self) -> bool
Returns true if this PdfPageObject contains transparency.
sourcefn bounds(&self) -> Result<PdfRect, PdfiumError>
fn bounds(&self) -> Result<PdfRect, PdfiumError>
Returns the bounding box of this PdfPageObject.
sourcefn transform(&mut self, a: f64, b: f64, c: f64, d: f64, e: f64, f: f64)
fn transform(&mut self, a: f64, b: f64, c: f64, d: f64, e: f64, f: f64)
Applies the given transformation, expressed as six values representing the six configurable elements of a nine-element 3x3 PDF transformation matrix, to this PdfPageObject. Read more
sourcefn set_blend_mode(&mut self, blend_mode: PdfPageObjectBlendMode)
fn set_blend_mode(&mut self, blend_mode: PdfPageObjectBlendMode)
Sets the blend mode that will be applied when painting this PdfPageObject.
sourcefn fill_color(&self) -> Result<PdfColor, PdfiumError>
fn fill_color(&self) -> Result<PdfColor, PdfiumError>
Returns the color of any filled paths in this PdfPageObject.
sourcefn set_fill_color(&self, fill_color: PdfColor) -> Result<(), PdfiumError>
fn set_fill_color(&self, fill_color: PdfColor) -> Result<(), PdfiumError>
Sets the color of any filled paths in this PdfPageObject.
sourcefn stroke_color(&self) -> Result<PdfColor, PdfiumError>
fn stroke_color(&self) -> Result<PdfColor, PdfiumError>
Returns the color of any stroked lines in this PdfPageObject.
sourcefn set_stroke_color(&self, stroke_color: PdfColor) -> Result<(), PdfiumError>
fn set_stroke_color(&self, stroke_color: PdfColor) -> Result<(), PdfiumError>
Sets the color of any stroked lines in this PdfPageObject.
sourcefn stroke_width(&self) -> Result<PdfPoints, PdfiumError>
fn stroke_width(&self) -> Result<PdfPoints, PdfiumError>
Returns the width of any stroked lines in this PdfPageObject.
sourcefn set_stroke_width(&self, stroke_width: PdfPoints) -> Result<(), PdfiumError>
fn set_stroke_width(&self, stroke_width: PdfPoints) -> Result<(), PdfiumError>
Sets the width of any stroked lines in this PdfPageObject. Read more
sourcefn line_join(&self) -> Result<PdfPageObjectLineJoin, PdfiumError>
fn line_join(&self) -> Result<PdfPageObjectLineJoin, PdfiumError>
Returns the line join style that will be used when painting stroked path segments in this PdfPageObject. Read more
sourcefn set_line_join(
&self,
line_join: PdfPageObjectLineJoin
) -> Result<(), PdfiumError>
fn set_line_join(
&self,
line_join: PdfPageObjectLineJoin
) -> Result<(), PdfiumError>
Sets the line join style that will be used when painting stroked path segments in this PdfPageObject. Read more
sourcefn line_cap(&self) -> Result<PdfPageObjectLineCap, PdfiumError>
fn line_cap(&self) -> Result<PdfPageObjectLineCap, PdfiumError>
Returns the line cap style that will be used when painting stroked path segments in this PdfPageObject. Read more
sourcefn set_line_cap(
&self,
line_cap: PdfPageObjectLineCap
) -> Result<(), PdfiumError>
fn set_line_cap(
&self,
line_cap: PdfPageObjectLineCap
) -> Result<(), PdfiumError>
Sets the line join style that will be used when painting stroked path segments in this PdfPageObject. Read more
sourcefn width(&self) -> Result<PdfPoints, PdfiumError>
fn width(&self) -> Result<PdfPoints, PdfiumError>
Returns the width of this PdfPageObject.
sourcefn height(&self) -> Result<PdfPoints, PdfiumError>
fn height(&self) -> Result<PdfPoints, PdfiumError>
Returns the height of this PdfPageObject.
sourcefn is_inside_rect(&self, rect: &PdfRect) -> bool
fn is_inside_rect(&self, rect: &PdfRect) -> bool
Returns true if the bounds of this PdfPageObject lie entirely within the given rectangle.
sourcefn does_overlap_rect(&self, rect: &PdfRect) -> bool
fn does_overlap_rect(&self, rect: &PdfRect) -> bool
Returns true if the bounds of this PdfPageObject lie at least partially within
the given rectangle. Read more
sourcefn translate(&mut self, delta_x: PdfPoints, delta_y: PdfPoints)
fn translate(&mut self, delta_x: PdfPoints, delta_y: PdfPoints)
Moves the origin of this PdfPageObject by the given horizontal and vertical delta distances.
sourcefn scale(&mut self, horizontal_scale_factor: f64, vertical_scale_factor: f64)
fn scale(&mut self, horizontal_scale_factor: f64, vertical_scale_factor: f64)
Changes the size of this PdfPageObject, scaling it by the given horizontal and vertical scale factors. Read more
sourcefn rotate_counter_clockwise_degrees(&mut self, degrees: f32)
fn rotate_counter_clockwise_degrees(&mut self, degrees: f32)
Rotates this PdfPageObject counter-clockwise by the given number of degrees.
sourcefn rotate_clockwise_degrees(&mut self, degrees: f32)
fn rotate_clockwise_degrees(&mut self, degrees: f32)
Rotates this PdfPageObject clockwise by the given number of degrees.
sourcefn rotate_counter_clockwise_radians(&mut self, radians: f32)
fn rotate_counter_clockwise_radians(&mut self, radians: f32)
Rotates this PdfPageObject counter-clockwise by the given number of radians.
sourcefn rotate_clockwise_radians(&mut self, radians: f32)
fn rotate_clockwise_radians(&mut self, radians: f32)
Rotates this PdfPageObject clockwise by the given number of radians.
sourcefn skew_degrees(&mut self, x_axis_skew: f32, y_axis_skew: f32)
fn skew_degrees(&mut self, x_axis_skew: f32, y_axis_skew: f32)
Skews the axes of this PdfPageObject by the given angles in degrees.
sourcefn skew_radians(&mut self, x_axis_skew: f32, y_axis_skew: f32)
fn skew_radians(&mut self, x_axis_skew: f32, y_axis_skew: f32)
Skews the axes of this PdfPageObject by the given angles in radians.