package color

import "fyne.io/fyne/v2/internal/color"

Index

Functions

func ToNRGBA

func ToNRGBA(c color.Color) (r, g, b, a int)

ToNRGBA converts a color to RGBA values which are not premultiplied, unlike color.RGBA().

Source Files

color.go

Version
v2.5.4 (latest)
Published
Feb 1, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
1 month ago

Tools for package owners.