Documentation ¶
Overview ¶
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 shadowFilter := shadow.NewShadowFilter(color, blur, offsetX, offsetY)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shadow ¶
type Shadow struct { Platform iotmaker_platform_IDraw.ICanvasShadow Color color.RGBA Blur float64 OffsetX int OffsetY int }
en: Please, usa a function shadow.NewShadowFilter() to make a new filter
pt_br: Por favor, use a função shadow.NewShadowFilter() para montar um novo filtro
func (*Shadow) PrepareFilter ¶
func (el *Shadow) PrepareFilter(platform iotmaker_platform_IDraw.ICanvasShadow)
en: Please, usa a function shadow.NewShadowFilter() to make a new filter. receive a canvas specific platform draw shadow functions.
pt_br: Por favor, use a função shadow.NewShadowFilter() para montar um novo filtro recebe as funções de desenho específicas do elemento canvas da plataforma
Click to show internal directories.
Click to hide internal directories.