Back to API Reference
Class
InnerShadowModifier
sealed
Inherits:PaintLayerModifier
Inset shadow that hugs the inner edge of the glyph, with a colour, gradient, or texture. The offset is a shader parameter (second SDF tap), not a quad displacement.
Remarks
Parameter: paint[,offset][,blur] + projection overrides (offset = "x y"; px/em, applied as the SDF tap).
public PaintRef Paint{ get; set }Inner-shadow paint (inline colour, named swatch, or default). A per-range value overrides it.
public UnitVector2 Offset{ get; set }Inner-shadow tap offset (applied as a second SDF tap). A per-range value overrides it.
public UnitValue Blur{ get; set }Inner-shadow blur radius. A per-range value overrides it.
protected PaintRef PaintField{ get }protected Color32 DefaultPaintColor{ get }