Struct pdf_writer::writers::BorderStyle [−][src]
pub struct BorderStyle<'a> { /* fields omitted */ }
Expand description
Writer for an border style dictionary.
This struct is created by Annotation::border_style
.
Implementations
Write the /W
attribute. This is the width of the border in points.
Write the /S
attribute.
Write the /D
attribute to set the repeating lengths of dashes and gaps
inbetween.
Methods from Deref<Target = Dict<'a>>
Start writing a pair with an arbitrary value.
Write a pair with a primitive value.
This is a shorthand for dict.insert(key).primitive(value)
.