Struct pdf_writer::writers::Transition [−][src]
pub struct Transition<'a> { /* fields omitted */ }
Expand description
Writer for a transition dictionary.
This struct is created by Page::transition
.
Implementations
Write the /S
attribute to set the transition style.
Write the /D
attribute to set the transition duration.
Write the /Dm
attribute to set the transition direction. Will be
horizontal if the argument is false
.
Write the /M
attribute to set the transition direction. Will be
inwards if the argument is false
.
Write the /Di
attribute to set the transition angle.
Write the /SS
attribute to set the scale for the Fly
transition.
PDF 1.5+.
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)
.