You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to figure out if there is a way I can add text to an image and have the text constrained to a region or rectangle. I don't want the text to wrap within the rectangle, I want it cut off with any text that extends beyond the rectangle not rendered. For example, If I wanted to center some text on the left half of a rectangular image, I wouldn't want the text to go onto the right half. Is this possible currently? Something like a clipping region in System.Drawing. Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to figure out if there is a way I can add text to an image and have the text constrained to a region or rectangle. I don't want the text to wrap within the rectangle, I want it cut off with any text that extends beyond the rectangle not rendered. For example, If I wanted to center some text on the left half of a rectangular image, I wouldn't want the text to go onto the right half. Is this possible currently? Something like a clipping region in System.Drawing. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions