Documentation
¶
Index ¶
- func NewGradientLinearToFill(coordinateP0, coordinateP1 point.Point, colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
- func NewGradientLinearToFillAndStroke(coordinateP0, coordinateP1 point.Point, colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
- func NewGradientLinearToFillBasicElement(colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
- func NewGradientLinearToStroke(coordinateP0, coordinateP1 point.Point, colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
- func NewGradientRadialToFill(coordinateP0, coordinateP1 point.PointWithRadius, ...) iotmaker_platform_IDraw.IFilterGradientInterface
- func NewGradientRadialToFillAndStroke(coordinateP0, coordinateP1 point.PointWithRadius, ...) iotmaker_platform_IDraw.IFilterGradientInterface
- func NewGradientRadialToStroke(coordinateP0, coordinateP1 point.PointWithRadius, ...) iotmaker_platform_IDraw.IFilterGradientInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGradientLinearToFill ¶
func NewGradientLinearToFill(coordinateP0, coordinateP1 point.Point, colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
en: Make a new filter linear gradient with fill for use with the canvas elements.
Linear gradient creates a gradient along one imaginary line connecting two given coordinates, starting at (x0, y0) point and ending at (x1, y1) point and fill the image with colors in list
pt_bt: Monta um novo filtro linear gradient para ser usado com os elementos do canvas.
O gradiente linear cria um gradiente ao longo de uma linha imaginária com duas coordenadas, começando no ponto 0 (x0, y0) e terminando no ponto 1 (x1, y1), pintando a linha com as cores da lista.
coordinateP0: Coordinate of the start point of the gradient. Please, use a NewPoint() function to set a point. coordinateP1: Coordinate of the end point of the gradient. Please, use a NewPoint() function to set a point. colorList: Color position list. Please, use a NewColorPosition() and NewColorList() functions to set a color list. Example: NewColorList(NewColorPosition(), NewColorPosition(), ...)
func NewGradientLinearToFillAndStroke ¶
func NewGradientLinearToFillAndStroke(coordinateP0, coordinateP1 point.Point, colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
en: Make a new filter linear gradient with fill for use with the canvas elements.
Linear gradient creates a gradient along one imaginary line connecting two given coordinates, starting at (x0, y0) point and ending at (x1, y1) point and fill the image with colors in list
pt_bt: Monta um novo filtro linear gradient para ser usado com os elementos do canvas.
O gradiente linear cria um gradiente ao longo de uma linha imaginária com duas coordenadas, começando no ponto 0 (x0, y0) e terminando no ponto 1 (x1, y1), pintando a linha com as cores da lista.
coordinateP0: Coordinate of the start point of the gradient. Please, use a NewPoint() function to set a point. coordinateP1: Coordinate of the end point of the gradient. Please, use a NewPoint() function to set a point. colorList: Color position list. Please, use a NewColorPosition() and NewColorList() functions to set a color list. Example: NewColorList(NewColorPosition(), NewColorPosition(), ...)
func NewGradientLinearToFillBasicElement ¶
func NewGradientLinearToFillBasicElement(colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
en: Make a new filter linear gradient with fill for use with the canvas elements.
Linear gradient creates a gradient along one imaginary line connecting two given coordinates, starting at (x0, y0) point and ending at (x1, y1) point and fill the image with colors in list
pt_bt: Monta um novo filtro linear gradient para ser usado com os elementos do canvas.
O gradiente linear cria um gradiente ao longo de uma linha imaginária com duas coordenadas, começando no ponto 0 (x0, y0) e terminando no ponto 1 (x1, y1), pintando a linha com as cores da lista.
coordinateP0: Coordinate of the start point of the gradient. Please, use a NewPoint() function to set a point. coordinateP1: Coordinate of the end point of the gradient. Please, use a NewPoint() function to set a point. colorList: Color position list. Please, use a NewColorPosition() and NewColorList() functions to set a color list. Example: NewColorList(NewColorPosition(), NewColorPosition(), ...)
func NewGradientLinearToStroke ¶
func NewGradientLinearToStroke(coordinateP0, coordinateP1 point.Point, colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
en: Make a new filter linear gradient with stroke for use with the canvas elements.
Linear gradient creates a gradient along one imaginary line connecting two given coordinates, starting at (x0, y0) point and ending at (x1, y1) point and stroke the image with colors in list
pt_bt: Monta um novo filtro linear gradient para ser usado com os elementos do canvas.
O gradiente linear cria um gradiente ao longo de uma linha imaginária com duas coordenadas, começando no ponto 0 (x0, y0) e terminando no ponto 1 (x1, y1), pintando a linha com as cores da lista.
coordinateP0: Coordinate of the start point of the gradient. Please, use a NewPoint() function to set a point. coordinateP1: Coordinate of the end point of the gradient. Please, use a NewPoint() function to set a point. colorList: Color position list. Please, use a NewColorPosition() and NewColorList() functions to set a color list. Example: NewColorList(NewColorPosition(), NewColorPosition(), ...)
func NewGradientRadialToFill ¶
func NewGradientRadialToFill(coordinateP0, coordinateP1 point.PointWithRadius, colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
en: Make a new filter radial gradient with fill for use with the canvas elements.
Creates a radial gradient. The parameters represent two circles, one with its center at (x0, y0) and a radius of r0, and the other with its center at (x1, y1) with a radius of r1.
pt_bt: Monta um novo filtro linear gradient para ser usado com os elementos do canvas.
O gradiente radial cria um gradiente representado por dois circulos, um centralizado no ponto p0 (x0, y0) com raio r0 e outro círculo centrado no ponto p1 (x1, y1) e com raio r1.
coordinateP0: Coordinate of the start point of the gradient. Please, use a NewPointWithRadius() function to set a point. coordinateP1: Coordinate of the end point of the gradient. Please, use a NewPointWithRadius() function to set a point. colorList: Color position list. Please, use a NewColorPosition() and NewColorList() functions to set a color list. Example: NewColorList(NewColorPosition(), NewColorPosition(), ...)
func NewGradientRadialToFillAndStroke ¶
func NewGradientRadialToFillAndStroke(coordinateP0, coordinateP1 point.PointWithRadius, colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
en: Make a new filter radial gradient with fill for use with the canvas elements.
Creates a radial gradient. The parameters represent two circles, one with its center at (x0, y0) and a radius of r0, and the other with its center at (x1, y1) with a radius of r1.
pt_bt: Monta um novo filtro linear gradient para ser usado com os elementos do canvas.
O gradiente radial cria um gradiente representado por dois circulos, um centralizado no ponto p0 (x0, y0) com raio r0 e outro círculo centrado no ponto p1 (x1, y1) e com raio r1.
coordinateP0: Coordinate of the start point of the gradient. Please, use a NewPointWithRadius() function to set a point. coordinateP1: Coordinate of the end point of the gradient. Please, use a NewPointWithRadius() function to set a point. colorList: Color position list. Please, use a NewColorPosition() and NewColorList() functions to set a color list. Example: NewColorList(NewColorPosition(), NewColorPosition(), ...)
func NewGradientRadialToStroke ¶
func NewGradientRadialToStroke(coordinateP0, coordinateP1 point.PointWithRadius, colorList []gradient.ColorStop) iotmaker_platform_IDraw.IFilterGradientInterface
en: Make a new filter radial gradient with stroke for use with the canvas elements.
Creates a radial gradient. The parameters represent two circles, one with its center at (x0, y0) and a radius of r0, and the other with its center at (x1, y1) with a radius of r1.
pt_bt: Monta um novo filtro linear gradient para ser usado com os elementos do canvas.
O gradiente radial cria um gradiente representado por dois circulos, um centralizado no ponto p0 (x0, y0) com raio r0 e outro círculo centrado no ponto p1 (x1, y1) e com raio r1.
coordinateP0: Coordinate of the start point of the gradient. Please, use a NewPointWithRadius() function to set a point. coordinateP1: Coordinate of the end point of the gradient. Please, use a NewPointWithRadius() function to set a point. colorList: Color position list. Please, use a NewColorPosition() and NewColorList() functions to set a color list. Example: NewColorList(NewColorPosition(), NewColorPosition(), ...)
Types ¶
This section is empty.