Main Content

getPositionConstraintFcn

Return function handle to current position constraint function

getPositionConstraintFcn is not recommended. With the new ROIs, use the DrawingArea property instead. For more information, see Compatibility Considerations.

Description

fcn = getPositionConstraintFcn(h) returns a function handle fcn to the current position constraint function of the ROI object h.

Input Arguments

collapse all

ROI object, specified as an imellipse, imline, impoint, impoly, or imrect object.

Output Arguments

collapse all

Function handle, returned as a handle. For more information, see Create Function Handle.

Version History

Introduced in R2008a

expand all