Applying constraints to dragable points

1 次查看(过去 30 天)
I'm trying to add contraints to my dragable points using the function "setPositionConstraintFcn". The application of this function is straight forward, however it is not clear how these contraintfunctions are generated. MATLAB offers "makeConstrainToRectFcn" to generate rectangular boundaries, however in my case i need a polygonal shape and not rectangular.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by