只是想知道什么更轻,我将有一个控制器,我的SegmentControl吸引280 * 4,这是一个四分之一圆,我只是想知道用最少的内存绘制所述段的方式是什么。
GeometryDrawing:
<Image>
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="LightBlue"
Geometry="M24.612317,0.14044853 C24.612317,0.14044853 33.499971,-0.60608719 41,7.0179795 48.37642,14.516393 47.877537,23.404541 47.877537,23.404541 L24.60978,23.401991 z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
或路径:
<Path Fill="LightBlue"
Stretch="Fill"
Stroke="#FF0DA17D"
Data="M24.612317,0.14044853 C24.612317,0.14044853 33.499971,-0.60608719 41,7.0179795 48.37642,14.516393 47.877537,23.404541 47.877537,23.404541 L24.60978,23.401991 z" />
或者如果你知道一种更好的方式,那将非常感激。
谢谢!