pub enum TransitionStyle {
Split,
Blinds,
Box,
Wipe,
Dissolve,
Glitter,
Replace,
Fly,
Push,
Cover,
Uncover,
Fade,
}Expand description
The transition styles of ISO 32000-1 Table 162: how a presentation reveals the page it moves to.
Variants§
Split
Two lines sweep across the screen, along Dimension and Motion.
Blinds
Evenly spaced lines sweep in the same direction, along Dimension.
Box
A rectangle sweeps inward from the edges or outward from the centre.
Wipe
One line sweeps from one edge to the other, in TransitionDirection.
Dissolve
The old page dissolves into the new one.
Glitter
A dissolve that sweeps across the page as a band.
Replace
/R: the new page replaces the old one with no effect, the default.
Fly
PDF 1.5: changes fly in or out, scaled from Transition::scale.
Push
PDF 1.5: the new page pushes the old one off the screen.
Cover
PDF 1.5: the new page slides over the old one.
Uncover
PDF 1.5: the old page slides off, uncovering the new one.
Fade
PDF 1.5: the new page fades in through the old one.
Implementations§
Source§impl TransitionStyle
impl TransitionStyle
Sourcepub fn from_name(name: &str) -> Option<TransitionStyle>
pub fn from_name(name: &str) -> Option<TransitionStyle>
The style /S names; None for a name the table does not list.