Struct pdf_writer::writers::TilingPattern [−][src]
pub struct TilingPattern<'a> { /* fields omitted */ }
Expand description
Writer for a tiling pattern stream.
This struct is created by PdfWriter::tiling_pattern
.
Implementations
Write the /PaintType
attribute.
Sets whether to use external or stream color. Required.
Write the /TilingType
attribute.
Sets how to stretch and space the pattern. Required.
Write the /BBox
attribute.
Sets the bounding box of the pattern in the pattern’s coordinate system. Required.
Write the /XStep
attribute.
Sets the horizontal spacing between pattern cells. Required.
Panics if x_step
is zero.
Write the /YStep
attribute.
Sets the vertical spacing between pattern cells. Required.
Panics if y_step
is zero.
Start writing the /Resources
dictionary.
Sets the resources used by the pattern. Required.
Methods from Deref<Target = Stream<'a>>
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)
.