uipolygoncontextmenu

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 4.4, Creation date: 2018-12-27, Last change: 2025-08-18

create the ui context menu for polygon

Description

This function makes shure that the ui contect menu for polygons is the same for all polygons
This function is used by uipolygonSelectWindowButtonUp


See Also: uipolygonSelectWindowButtonUp , uipolygonmoveWindowButtonDownFcn , uipolygonselect

Example Illustration

 missing image of uipolygoncontextmenu

Syntax

cm=uipolygoncontextmenu

Output Parameter

cm: context menu

Examples


h=findobj(gca,'Type','polygon','selected','on');
cm=uipolygoncontextmenu; set(h,'UIContextMenu',cm);





Copyright 2018-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21