Class Index

Classes


Namespace motigon.Context

Defines a drawing context.

Context

Method Summary
Config
Gets the current configuration object.
int
Gets the height of an image.
int
getImageWidth(image)
Gets the with of an image.
boolean
Checks if the context has been initialized.
Method Detail
getConfig()
Gets the current configuration object.
Returns:
{Config}

getImageHeight(image)
Gets the height of an image.
Parameters:
{Image} image
the image container
Returns:
{int}

getImageWidth(image)
Gets the with of an image.
Parameters:
{Image} image
the image container
Returns:
{int}

isInitialized()
Checks if the context has been initialized.
Returns:
{boolean}