Documentation
¶
Overview ¶
Package patternassets owns the canonical built-in texture definitions shared by D2's SVG and scene renderers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrainPNG ¶
func GrainPNG() []byte
GrainPNG returns the canonical grain texture. Callers must treat the returned bytes as immutable.
func StreakPathData ¶
func StreakPathData() string
StreakPathData returns the canonical sketch streak path data.
func StreaksSVG ¶
func StreaksSVG() string
StreaksSVG returns the SVG wrapper used by the SVG renderer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.