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.