How to create a transparent, rectangular patch with rounded corners?
It would be helpful to create a transparent, rectangular patch with rounded corners. This could be acheived with something like this:
h = rectangle(‘Position’, [x1, y1, x2, y2], …
‘Curvature’, 0.2, …
‘FaceColor’, ‘r’, …
‘EdgeColor’, ‘r’);
Unfortunately, rectangle properties do not include FaceAlpha and EdgeAlpha. Patch objects do, so I thought that I could get the XData and YData properties of the rectangle object from which to create a patch object. No dice; wasn’t able to find these properties.
Again, the desired features are: transparency + rounded corners + face colorIt would be helpful to create a transparent, rectangular patch with rounded corners. This could be acheived with something like this:
h = rectangle(‘Position’, [x1, y1, x2, y2], …
‘Curvature’, 0.2, …
‘FaceColor’, ‘r’, …
‘EdgeColor’, ‘r’);
Unfortunately, rectangle properties do not include FaceAlpha and EdgeAlpha. Patch objects do, so I thought that I could get the XData and YData properties of the rectangle object from which to create a patch object. No dice; wasn’t able to find these properties.
Again, the desired features are: transparency + rounded corners + face color It would be helpful to create a transparent, rectangular patch with rounded corners. This could be acheived with something like this:
h = rectangle(‘Position’, [x1, y1, x2, y2], …
‘Curvature’, 0.2, …
‘FaceColor’, ‘r’, …
‘EdgeColor’, ‘r’);
Unfortunately, rectangle properties do not include FaceAlpha and EdgeAlpha. Patch objects do, so I thought that I could get the XData and YData properties of the rectangle object from which to create a patch object. No dice; wasn’t able to find these properties.
Again, the desired features are: transparency + rounded corners + face color rectangle, patch MATLAB Answers — New Questions