pub type PaintSweepGradient<'a> = TableRef<'a, PaintSweepGradientMarker>;
Expand description
PaintSweepGradient table
Aliased Type§
pub struct PaintSweepGradient<'a> {
pub(crate) shape: PaintSweepGradientMarker,
pub(crate) data: FontData<'a>,
}
Fields§
§shape: PaintSweepGradientMarker
§data: FontData<'a>
Implementations§
Source§impl PaintSweepGradient<'_>
impl PaintSweepGradient<'_>
fn v1_closure(&self, c: &mut Colrv1ClosureContext<'_>)
Source§impl<'a> PaintSweepGradient<'a>
impl<'a> PaintSweepGradient<'a>
Sourcepub fn color_line_offset(&self) -> Offset24
pub fn color_line_offset(&self) -> Offset24
Offset to ColorLine table.
Sourcepub fn color_line(&self) -> Result<ColorLine<'a>, ReadError>
pub fn color_line(&self) -> Result<ColorLine<'a>, ReadError>
Attempt to resolve color_line_offset
.
Sourcepub fn start_angle(&self) -> F2Dot14
pub fn start_angle(&self) -> F2Dot14
Start of the angular range of the gradient, 180° in counter-clockwise degrees per 1.0 of value.