Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewShadow ¶
func NewShadow( color color.RGBA, blur, offsetX, offsetY float64, density interface{}, iDensity iotmaker_platform_coordinate.IDensity, ) iotmaker_platform_IDraw.IFilterShadowInterface
en: creates a shadow effect over the canvas draw image
pt_br: cria o efeito de sombra sobre o desenho
Example:
color := colornames.DarkredHalfTransparent blur := 5 offsetX := 2 offsetY := 2 density := 1.0 iDensity := &Density{} shadowFilter := shadow.NewShadowFilter(color, blur, offsetX, offsetY)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.