public static Create ( string name, |
||
name | string | The shape name. |
style | The shape style. | |
geometry | The path geometry. | |
isStroked | bool | The flag indicating whether shape is stroked. |
isFilled | bool | The flag indicating whether shape is filled. |
Результат |
public static XPath Create(string name, ShapeStyle style, XPathGeometry geometry, bool isStroked = true, bool isFilled = true)
{
return new XPath()
{
Name = name,
Style = style,
IsStroked = isStroked,
IsFilled = isFilled,
Geometry = geometry
};
}
}