package svg
import "fyne.io/fyne/v2/internal/svg"
Index ¶
- func Colorize(src []byte, clr color.Color) []byte
- func IsFileSVG(path string) bool
- func IsResourceSVG(res fyne.Resource) bool
- type Config
- type Decoder
Functions ¶
func Colorize ¶
Colorize creates a new SVG from a given one by replacing all fill colors by the given color.
func IsFileSVG ¶
func IsResourceSVG ¶
func IsResourceSVG(res fyne.Resource) bool
IsResourceSVG checks if the resource is an SVG or not.
Types ¶
type Config ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func (*Decoder) Config ¶
func (*Decoder) Draw ¶
Source Files ¶
svg.go
- Version
- v2.5.4 (latest)
- Published
- Feb 1, 2025
- Platform
- linux/amd64
- Imports
- 15 packages
- Last checked
- 1 month ago –
Tools for package owners.