pub type PaintVarLinearGradient<'a> = TableRef<'a, PaintVarLinearGradientMarker>;
Expand description
PaintVarLinearGradient table
Aliased Type§
struct PaintVarLinearGradient<'a> { /* private fields */ }
Implementations§
source§impl<'a> PaintVarLinearGradient<'a>
impl<'a> PaintVarLinearGradient<'a>
sourcepub fn color_line_offset(&self) -> Offset24
pub fn color_line_offset(&self) -> Offset24
Offset to VarColorLine table.
sourcepub fn color_line(&self) -> Result<VarColorLine<'a>, ReadError>
pub fn color_line(&self) -> Result<VarColorLine<'a>, ReadError>
Attempt to resolve color_line_offset
.
sourcepub fn x2(&self) -> FWord
pub fn x2(&self) -> FWord
Rotation point (p₂) x coordinate. For variation, use varIndexBase + 4.
sourcepub fn y2(&self) -> FWord
pub fn y2(&self) -> FWord
Rotation point (p₂) y coordinate. For variation, use varIndexBase + 5.
sourcepub fn var_index_base(&self) -> u32
pub fn var_index_base(&self) -> u32
Base index into DeltaSetIndexMap.