factoryGradient

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL