pub struct Border {
pub horizontal_radius: f32,
pub vertical_radius: f32,
pub width: f32,
pub dash: Option<Vec<f32>>,
}Expand description
An annotation’s /Border array (ISO 32000-1 §12.5.2, Table 164): the
corner radii and width of the border, with the dash array PDF 1.1
allows as a fourth element.
Fields§
§horizontal_radius: f32§vertical_radius: f32§width: f32§dash: Option<Vec<f32>>The dash array in the form of the graphics state’s line dash
pattern (§8.4.3.6); None for a solid border.
Trait Implementations§
impl StructuralPartialEq for Border
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnsafeUnpin for Border
impl UnwindSafe for Border
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