Opened 5 weeks ago
Last modified 5 weeks ago
#19330 new enhancement
missing symmetry in View API to draw Region outline like StrokeRegion() for FillRegion() — at Initial Version
Reported by: | grexe | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Interface Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I would like to draw only the outline of a Region. The View API only provides a FillRegion() but for other forms like Rects or even Polygons it provides variants to only draw the outline via matching Stroke...() calls, not so for Regions.
Since there is no way to convert between polygons and regions, this is quite cumbersome and requires manually building a polygon from a point array taken from the region, or draw individual rectangular outlines via StrokeRect(), which is not quite the same if the region is divided e.g. between lines in a TextView.
Note:
See TracTickets
for help on using tickets.