DxApplyMask
Jump to navigation
Jump to search
This function applies a mask texture to a specified DxElement.
Syntax
bool dxApplyMask ( DxElement dxElement, mixed image)
OOP Syntax Help! I don't understand this!
- Method: DxElement:applyMask(...)
Required Arguments
- dxElement: element you wish to bind a render function to
- image: the image/texture mask you would like to apply. This can be a filepath (string) or texture created with dxCreateTexture.
Returns
Returns true if the function was bound successfully, false otherwise.
See Also
- dxAddClickFunction
- dxAddRenderFunction
- dxApplyMask
- dxBringToFront
- dxDestroy
- dxGetAlpha
- dxGetBounds
- dxGetChildren
- dxGetChildrenByType
- dxGetColor
- dxGetGlobalProperty
- dxGetHoverColor
- dxGetIndex
- dxGetInheritedBounds
- dxGetInheritedChildren
- dxGetInheritedChildrenByType
- dxGetInheritedParents
- dxGetMaskTexture
- dxGetNonRootElements
- dxGetObstructingElement
- dxGetParent
- dxGetPosition
- dxGetProperty
- dxGetRootElement
- dxGetRootElements
- dxGetSize
- dxGetText
- dxGetTextColor
- dxGetTexture
- dxGetTopLevelChildren
- dxGetVisible
- dxIsChild
- dxIsFront
- dxIsInheritedChild
- dxIsObstructed
- dxIsObstructedByElement
- dxIsParent
- dxIsRootElement
- dxRemoveClickFunction
- dxRemoveRenderFunction
- dxSendToBack
- dxSetAlpha
- dxSetCentered
- dxSetColor
- dxSetDragArea
- dxSetGlobalProperty
- dxSetHoverColor
- dxSetIndex
- dxSetMaskEnabled
- dxSetParent
- dxSetPosition
- dxSetProperty
- dxSetSize
- dxSetText
- dxSetTextColor
- dxSetVisible
- isMouseOverDxElement