/// <summary> /// Creates a new <see cref="ShapeState"/> instance. /// </summary> /// <param name="flags">The state flags.</param> /// <returns>The new instance of the <see cref="ShapeState"/> class.</returns> public static ShapeState Create(ShapeStateFlags flags = ShapeStateFlags.Default) { return(new ShapeState() { Flags = flags }); }
/// <summary> /// Creates a new <see cref="ShapeState"/> instance. /// </summary> /// <param name="flags">The state flags.</param> /// <returns>The new instance of the <see cref="ShapeState"/> class.</returns> public static ShapeState Create(ShapeStateFlags flags = ShapeStateFlags.Default) { return new ShapeState() { Flags = flags }; }