Graphics Object Programming
Comparing, testing for validity, preallocating, and object arrays
Functions
gobjects |
Initialize array for graphics objects |
isgraphics |
True for valid graphics object handles |
isempty |
阻止mine whether array is empty |
isequal |
阻止mine array equality |
isa |
阻止mine if input is object of specified class |
Topics
Use the object handle to set and query the values of the object properties.
Handles in Logical Expressions
Handle objects do not evaluate to logicaltrue
orfalse
. You must use the function that tests for the state of interest and returns a logical value.
Graphics arrays can contain the handles of any graphics objects.
Useisgraphics
to determine if a variable is a valid graphics object handle.
Preallocate Arrays of Graphics Objects
Use thegobjects
function to preallocate arrays for graphics objects.
Was this topic helpful?