[NUI] VectorGraphics:Open added APIs(DrawableGroup, Picture, Gradient)
[Add ACR]
src/public/BaseComponents/VectorGraphics/CanvasView.cs
[Add] public void RemoveDrawable(Drawable drawable)
[Add] public void RemoveAllDrawables()
src/public/BaseComponents/VectorGraphics/Drawable.cs
[Add] public Vector4 BoundingBox { get; }
[Add] public void ClipPath(Drawable clip)
[Add] public void Mask(Drawable mask, MaskType type)
src/public/BaseComponents/VectorGraphics/Shape.cs
[Add] public Gradient FillGradient { get; set; }
[Add] public Gradient StrokeGradient { get; set; }
[Add] public void AddPath(PathCommands pathCommands)
src/public/BaseComponents/VectorGraphics/DrawableGroup.cs
[Add] public DrawableGroup()
[Add] public void AddDrawable(Drawable drawable)
[Add] public void RemoveDrawable(Drawable drawable)
[Add] public bool RemoveAllDrawables()
src/public/BaseComponents/VectorGraphics/Picture.cs
[Add] public Picture()
[Add] public void Load(string url)
[Add] public void SetSize(Size2D size)
[Add] public Size2D GetSize()
src/public/BaseComponents/VectorGraphics/Gradient.cs
[Add] public SpreadType Spread { get; set; }
[Add] public ReadOnlyCollection ColorStops { get; set; }
src/public/BaseComponents/VectorGraphics/LinearGradient.cs
[Add] public LinearGradient()
[Add] public void SetBounds(Position2D firstPoint, Position2D secondPoint)
[Add] public void GetBounds(ref Position2D firstPoint, ref Position2D secondPoint)
src/public/BaseComponents/VectorGraphics/RadialGradient.cs
[Add] public RadialGradient()
[Add] public void SetBounds(Position2D centerPoint, float radius)
[Add] public void GetBounds(ref Position2D centerPoint, ref float radius)
src/public/BaseComponents/VectorGraphics/ColorStop.cs
[Add] public ColorStop(float offset, Color color)
[Add] public float Offset { get; set; }
[Add] public Color Color { get; set; }
src/public/BaseComponents/VectorGraphics/PathCommands.cs
[Add] PathCommands(IEnumerable commands, IEnumerable points)
[Add] public IEnumerable Commands { get; set; }
[Add] public IEnumerable Points { get; set; }
src/public/BaseComponents/VectorGraphics/VectorGraphicsConstants.cs
[Add] public enum MaskType { Alpha, AlphaInverse }
[Add] public enum SpreadType { Pad, Reflect, Repeat }
[Add] public enum PathCommandType { Close, MoveTo, LineTo, CubicTo }
[Changed ACR]
[Change]
src/public/BaseComponents/VectorGraphics/Shape.cs
public enum VectorGraphics.Shape.FillRuleType { Winding, EvenOdd }
->
src/public/BaseComponents/VectorGraphics/VectorGraphicsConstants.cs
public enum VectorGraphics.FillRuleType { Winding, EvenOdd }
[Change]
src/public/BaseComponents/VectorGraphics/Shape.cs
public enum VectorGraphics.Shape.StrokeCapType { Square, Round, Butt }
->
src/public/BaseComponents/VectorGraphics/VectorGraphicsConstants.cs
public enum VectorGraphics.StrokeCapType { Square, Round, Butt }
[Change]
src/public/BaseComponents/VectorGraphics/Shape.cs
public enum VectorGraphics.Shape.StrokeJoinType { Bevel, Round, Miter }
->
src/public/BaseComponents/VectorGraphics/VectorGraphicsConstants.cs
public enum VectorGraphics.StrokeJoinType { Bevel, Round, Miter }
12 files changed: