<< is2D Graphics functions isgraphics >>

isValidGraphicsProperty


Check property name is valid.


Syntax


tf = isValidGraphicsProperty(typename, propertyname)

Input argument


typename

a character vector or scalar string: 'axes', 'line', 'image', 'root', 'text', 'figure'.

propertyname

a character vector or scalar string: property name to check.

Output argument


tf

a scalar logical.

Description


isValidGraphicsProperty checks is property name is existing for graphical object class.

This function is an helper to check input parameters graphical functions.

Example


tf = isValidGraphicsProperty('figure', 'Type')
tf = isValidGraphicsProperty('figure', 'TypeType')

See also


isprop.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< is2D Graphics functions isgraphics >>