wpf - How to get PathFigureCollection bounding rectangle -
is possible find bounding rectangle of pathfigurecollection object, in c# ? (i know how using frameworkelement that's not want)
try include pathfigurecollection in pathgeometry object, , can access bounding rectangle via bounds property.
example
var geometry = new pathgeometry { figures = new pathfigurecollection() }; var boundingrect = geometry.bounds;
Comments
Post a Comment