Sign In

ForgeCanvas Functions

Browse 111 native functions in ForgeCanvas. Filter by category, version, and name.

$addColorStop

Adds a color stop to the gradient

gradientv1.0.0
$addFrame

Adds a frame to the GIF

gifv1.2.0
$arc

Draws a circular arc in the current path

pathv1.0.0
$arcTo

Adds a circular arc in the current path

pathv1.0.0
$attachCanvas

Creates a new canvas

canvasv1.3.1
$attachGIF

Attaches the GIF

gifv1.2.0
$attachImage

Attaches the image

imagev1.2.0
$barData

Adds data to the progress bar

helperv1.2.0
$barOptions

Sets options for progress bars

helperv1.2.0
$beginPath

Begins a new path

pathv1.0.0
$bezierCurveTo

Draws a cubic Bézier curve in the current path

linev1.0.0
$canvasBuffer

Stores the current canvas buffer

canvasv1.2.0
$canvasDataUrl

Returns buffer of a canvas

canvasv1.2.2
$canvasSize

Returns the canvas size

canvasv1.1.0
$canvasVersion

Returns the forge.canvas version

utilv1.1.0
$checkFrameConsistency

Configure if frames must be within the screen descriptor

gifv1.2.0
$checkLZWEndCode

Configure if LZW encoded blocks must end with a marker end code

gifv1.2.0
$clearCanvasCache

Clears all canvas caches

utilv1.3.0
$clip

Turns the current path into the current clipping region

pathv1.0.0
$closePath

Adds a straight line from the current point to the start of the current path

pathv1.0.0
$colorMapRgb

Returns the RGB color map calculated from the sample

neuquantv1.2.1
$colorMapRgba

Returns the RGBA color map calculated from the sample

neuquantv1.2.1
$compositeOperation

Sets or returns the compositing operation in a canvas

utilv1.1.0
$createCanvas

Creates a new canvas

canvasv1.3.1
$createFrame

Creates a new GIF Frame

gifv1.2.0
$cropCanvas

Crops a canvas

canvasv1.0.0
$decodeOptions

Creates new GIF Decode Options

gifv1.2.0
$deleteCanvas

Deletes the canvas

canvasv1.0.0
$deleteDecoder

Deletes the Decoder

gifv1.2.0
$deleteEncoder

Deletes the Encoder

gifv1.2.0
$deleteFrame

Deletes the frame

gifv1.2.0
$deleteImage

Deletes the image

imagev1.2.0
$drawImage

Draws an image on a canvas

drawingv1.0.0
$drawImageArea

Draws a specific area of an image on the canvas

drawingv1.3.0
$drawProgressBar

Creates and draws progress bars on a canvas

helperv1.2.0
$drawRect

Draws a rectangle on a canvas

drawingv1.0.0
$drawText

Draws a filled/stroked text on a canvas

drawingv1.0.0
$ellipse

Draws a eliiptical arc in the current path

pathv1.0.0
$fill

Fills the current path

pathv1.0.0
$filter

Use filters in your canvas

utilv1.0.0
$fontFamilies

Returns a list of the available fonts

textv1.0.0
$fontVariantCaps

Sets or returns the capitalization of the text

textv1.1.0
$frameOption

Sets or returns a GIF Frame option

gifv1.2.0
$getPixels

Returns an array of pixels (their colors)

utilv1.0.0
$getTransform

Returns the current transformation matrix

transformv1.0.0
$GIFDecoderOption

Sets or returns a GIF Frame option

gifv1.2.0
$GIFDecoderSize

Returns the size of the GIF Decoder

gifv1.2.0
$GIFEncoderGlobalPalette

Gets the global palette of the GIF Encoder

gifv1.2.0

Showing 48 of 111 functions