rhwp 0.9.1

HWP/HWPX document engine for Rust applications, WebAssembly, and CLI automation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// The FloodFill Enumeration specifies the type of fill operation to be
/// performed.
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd, strum::FromRepr, strum::EnumIter)]
#[repr(u16)]
pub enum FloodFill {
    /// The fill area is bounded by the color specified by the Color member.
    /// This style is identical to the filling performed by the META_FLOODFILL
    /// Record.
    FLOODFILLBORDER = 0x0000,
    /// The fill area is bounded by the color that is specified by the Color
    /// member. Filling continues outward in all directions as long as the
    /// color is encountered. This style is useful for filling areas with
    /// multicolored boundaries.
    FLOODFILLSURFACE = 0x0001,
}

crate::wmf::parser::constants::impl_parser!(FloodFill, u16);