public void Measure(ICanvasResourceCreator resourceCreator) { if (bodyGeometry != null) { UpdateSize(bodyGeometry.Measure(this, resourceCreator)); } }
public void Measure(ICanvasResourceCreator resourceCreator) { if (!needsMeasure) { return; } geometry.Measure(this, resourceCreator); needsMeasure = false; }