[NUI] VectorGraphics:Open added APIs(DrawableGroup, Picture, Gradient)
authorJunsuChoi <jsuya.choi@samsung.com>
Tue, 24 Aug 2021 09:56:20 +0000 (18:56 +0900)
committerSeoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Mon, 13 Sep 2021 07:33:23 +0000 (16:33 +0900)
[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:
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/CanvasView.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/ColorStop.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/Drawable.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/DrawableGroup.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/Gradient.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/LinearGradient.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/PathCommands.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/Picture.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/RadialGradient .cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/Shape.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/VectorGraphicsConstants.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/CanvasViewSample.cs

index 137f0fd..84af491 100755 (executable)
@@ -34,7 +34,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <summary>
         /// Creates an initialized CanvasView.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public CanvasView() : this(Interop.CanvasView.New(), true)
         {
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -91,8 +91,11 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
 
         /// <summary>
         /// The viewbox of the CanvasView.
+        /// The viewbox means the size of CanvasView's internal space.
+        /// If the size of the viewbox is larger than the size of the Canvasview, the shapes are displayed smaller than the specified size.
+        /// The default value of the viewbox is the same as the size of the canvasview.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public Size2D ViewBox
         {
             get
@@ -139,7 +142,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// </summary>
         /// <param name="drawable">Drawable object</param>
         /// <exception cref="ArgumentNullException"> Thrown when drawable is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void RemoveDrawable(Drawable drawable)
         {
             if (drawable == null)
@@ -154,7 +157,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <summary>
         /// Remove all drawable objects added to the CanvasView.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void RemoveAllDrawables()
         {
             Interop.CanvasView.RemoveAllDrawables(View.getCPtr(this));
index 8fa4f25..7dfb793 100755 (executable)
@@ -22,7 +22,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// <summary>
     /// A data storing the information about the color and its relative position inside the gradient bounds.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public class ColorStop
     {
         private float offset; //The relative position of the color. 
@@ -31,7 +31,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <summary>
         /// Initialize ColorStop.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public ColorStop(float offset, Color color)
         {
             this.offset = offset;
@@ -41,7 +41,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <summary>
         /// The relative position of the color. 
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public float Offset
         {
             set
@@ -57,7 +57,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <summary>
         /// The color value.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public Color Color
         {
             set {
index 196ee5b..dcab94f 100755 (executable)
@@ -75,7 +75,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         ///  float boundingBoxWidth = shape.BoundingBox[2];  // boundingBoxWidth will be 100.
         ///  float boundingBoxHeight = shape.BoundingBox[3]; // boundingBoxHeight will be 100.
         /// </code>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public Vector4 BoundingBox
         {
             get
@@ -91,7 +91,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <param name="clip">The clip drawable object.</param>
         /// <exception cref="Exception"> Drawable clpping failed. </exception>
         /// <exception cref="ArgumentNullException"> Thrown when drawable is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void ClipPath(Drawable clip)
         {
             if (clip == null)
@@ -113,7 +113,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <param name="type">The masking type.</param>
         /// <exception cref="Exception"> Drawable masking failed. </exception>
         /// <exception cref="ArgumentNullException"> Thrown when drawable is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void Mask(Drawable mask, MaskType type)
         {
             if (mask == null)
index 2c86635..eda9311 100755 (executable)
@@ -22,9 +22,10 @@ using System.ComponentModel;
 namespace Tizen.NUI.BaseComponents.VectorGraphics
 {
     /// <summary>
-    /// A class enabling to hold many Drawable objects. As a whole they can be transformed, their transparency can be changed.
+    /// A class enabling to hold many Drawable objects.
+    /// The added Drawables are affected by the transform and opacity of DrawableGoup.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public class DrawableGroup : Drawable
     {
         private List<Drawable> drawables; //The list of added drawables
@@ -32,7 +33,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <summary>
         /// Creates an initialized DrawableGroup.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public DrawableGroup() : this(Interop.DrawableGroup.New(), true)
         {
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -48,7 +49,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// </summary>
         /// <param name="drawable">Drawable object</param>
         /// <exception cref="ArgumentNullException"> Thrown when drawable is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void AddDrawable(Drawable drawable)
         {
             if (drawable == null)
@@ -64,12 +65,12 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         }
 
         /// <summary>
-        /// Remove drawable object to the DrawableGroup.
+        /// Remove drawable object from the DrawableGroup.
         /// This method is similar to deregistration.
         /// </summary>
         /// <param name="drawable">Drawable object</param>
         /// <exception cref="ArgumentNullException"> Thrown when drawable is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void RemoveDrawable(Drawable drawable)
         {
             if (drawable == null)
@@ -86,7 +87,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// This method does not free the memory of the added drawable object.
         /// </summary>
         /// <returns>True when it's successful. False otherwise.</returns>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public bool RemoveAllDrawables()
         {
             bool ret = Interop.DrawableGroup.RemoveAllDrawables(BaseHandle.getCPtr(this));
index a6fad01..24ff407 100755 (executable)
@@ -26,10 +26,8 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// It contains the information about the gradient colors and their arrangement
     /// inside the gradient bounds. The gradients bounds are defined in the LinearGradient
     /// or RadialGradient class, depending on the type of the gradient to be used.
-    /// It specifies the gradient behavior in case the area defined by the gradient bounds
-    /// is smaller than the area to be filled.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public class Gradient : BaseHandle
     {
         /// <summary>
@@ -45,7 +43,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <summary>
         /// Specifying how to fill the area outside the gradient bounds.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public SpreadType Spread
         {
             get
@@ -63,7 +61,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// The parameters list of the colors of the gradient and their position.
         /// </summary>
         /// <exception cref="ArgumentNullException"> Thrown when value is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public ReadOnlyCollection<ColorStop> ColorStops
         {
             get
index 10c640b..5d9116b 100755 (executable)
@@ -24,13 +24,13 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// Besides the class inherited from the Gradient class, it enables setting and getting the linear gradient bounds.
     /// The behavior outside the gradient bounds depends on the value specified in the spread API.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public class LinearGradient : Gradient
     {
         /// <summary>
         /// Creates an initialized linear gradient.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public LinearGradient() : this(Interop.LinearGradient.New(), true)
         {
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -43,13 +43,12 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <summary>
         /// Sets the linear gradient bounds.
         /// 
-        /// The bounds of the linear gradient are defined as a surface constrained by two parallel lines crossing
-        /// the given points firstPoint and secondPoint, respectively. Both lines are perpendicular to the line linking
-        /// firstPoint and secondPoint.
+        /// The bounds of the linear gradient are defined by two parallel lines crossing the given points firstPoint and secondPoint, respectively.
+        /// Both lines are perpendicular to the line linking firstPoint and secondPoint.
         /// </summary>
         /// <param name="firstPoint">The first point used to determine the gradient bounds.</param>
         /// <param name="secondPoint">The second point used to determine the gradient bounds.</param>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void SetBounds(Position2D firstPoint, Position2D secondPoint)
         {
             Interop.LinearGradient.SetBounds(BaseHandle.getCPtr(this), Position2D.getCPtr(firstPoint), Position2D.getCPtr(secondPoint));
@@ -61,7 +60,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// </summary>
         /// <param name="firstPoint">The first point used to determine the gradient bounds.</param>
         /// <param name="secondPoint">The second point used to determine the gradient bounds.</param>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void GetBounds(ref Position2D firstPoint, ref Position2D secondPoint)
         {
             Interop.LinearGradient.GetBounds(BaseHandle.getCPtr(this), Position2D.getCPtr(firstPoint), Position2D.getCPtr(secondPoint));
index 111b3d2..8ac8df3 100755 (executable)
@@ -25,7 +25,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// Data class that contains information about a list of path commands.
     /// For each command from the commands array, an appropriate number of points in points array should be specified.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public class PathCommands
     {
         private IEnumerable<PathCommandType> commands; //The array of commands.
@@ -37,7 +37,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <param name="commands">The array of commands.</param>
         /// <param name="points">The array of points.</param>
         /// <exception cref="ArgumentNullException"> Thrown when commands or points are null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public PathCommands(IEnumerable<PathCommandType> commands, IEnumerable<float> points)
         {
             if (commands == null)
@@ -56,7 +56,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// The commands array.
         /// </summary>
         /// <exception cref="ArgumentNullException"> Thrown when commands is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public IEnumerable<PathCommandType> Commands
         {
             get
@@ -77,7 +77,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// The points array
         /// </summary>
         /// <exception cref="ArgumentNullException"> Thrown when points is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public IEnumerable<float> Points
         {
             get
index f314067..90735a3 100755 (executable)
@@ -24,13 +24,13 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// A class representing an image read in one of the supported formats: raw, svg, png and etc.
     /// Besides the methods inherited from the Drawable, it provides methods to load and draw images on the canvas.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public class Picture : Drawable
     {
         /// <summary>
         /// Creates an initialized Picture.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public Picture() : this(Interop.Picture.New(), true)
         {
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -46,7 +46,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// <param name="url">A path to the picture file.</param>
         /// <exception cref="ArgumentNullException"> Thrown when url is null. </exception>
         /// <exception cref="Exception"> Thrown when image load fail. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void Load(string url)
         {
             if (url == null)
@@ -69,7 +69,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// </summary>
         /// <param name="size">A new size of the image in pixels</param>
         /// <exception cref="ArgumentNullException"> Thrown when size is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void SetSize(Size2D size)
         {
             if (size == null)
@@ -84,7 +84,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// Gets the size of the image.
         /// </summary>
         /// <returns> The size of the image in pixels.</returns>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public Size2D GetSize()
         {
             global::System.IntPtr cPtr = Interop.Picture.GetSize(View.getCPtr(this));
index 94890ad..723c054 100755 (executable)
@@ -22,13 +22,13 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// <summary>
     /// A class representing the radial gradient fill of the Shape object.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public class RadialGradient : Gradient
     {
         /// <summary>
         /// Creates an initialized radial gradient.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public RadialGradient() : this(Interop.RadialGradient.New(), true)
         {
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -45,7 +45,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// </summary>
         /// <param name="centerPoint">The point of the center of the bounding circle.</param>
         /// <param name="radius">The radius of the bounding circle.</param>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void SetBounds(Position2D centerPoint, float radius)
         {
             Interop.RadialGradient.SetBounds(BaseHandle.getCPtr(this), Position2D.getCPtr(centerPoint), radius);
@@ -57,7 +57,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// </summary>
         /// <param name="centerPoint">The point of the center of the bounding circle.</param>
         /// <param name="radius">The radius of the bounding circle.</param>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void GetBounds(ref Position2D centerPoint, ref float radius)
         {
             float ret = 0.0f;
index 249b89e..903563f 100755 (executable)
@@ -46,62 +46,6 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         }
 
         /// <summary>
-        /// Enumeration for The fill rule of shape.
-        /// </summary>
-        /// <since_tizen> 9 </since_tizen>
-        public enum FillRuleType
-        {
-            /// <summary>
-            /// Draw a horizontal line from the point to a location outside the shape. Determine whether the direction of the line at each intersection point is up or down. The winding number is determined by summing the direction of each intersection. If the number is non zero, the point is inside the shape.
-            /// </summary>
-            Winding = 0,
-            /// <summary>
-            /// Draw a horizontal line from the point to a location outside the shape, and count the number of intersections. If the number of intersections is an odd number, the point is inside the shape.
-            /// </summary>
-            EvenOdd
-        }
-
-        /// <summary>
-        /// Enumeration for The cap style to be used for stroking the path.
-        /// </summary>
-        /// <since_tizen> 9 </since_tizen>
-        public enum StrokeCapType
-        {
-            /// <summary>
-            /// The end of lines is rendered as a square around the last point.
-            /// </summary>
-            Square = 0,
-            /// <summary>
-            /// The end of lines is rendered as a half-circle around the last point.
-            /// </summary>
-            Round,
-            /// <summary>
-            /// The end of lines is rendered as a full stop on the last point itself.
-            /// </summary>
-            Butt
-        }
-
-        /// <summary>
-        /// numeration for The join style to be used for stroking the path.
-        /// </summary>
-        /// <since_tizen> 9 </since_tizen>
-        public enum StrokeJoinType
-        {
-            /// <summary>
-            /// Used to render beveled line joins. The outer corner of the joined lines is filled by enclosing the triangular region of the corner with a straight line between the outer corners of each stroke.
-            /// </summary>
-            Bevel = 0,
-            /// <summary>
-            /// Used to render rounded line joins. Circular arcs are used to join two lines smoothly.
-            /// </summary>
-            Round,
-            /// <summary>
-            /// Used to render mitered line joins. The intersection of the strokes is clipped at a line perpendicular to the bisector of the angle between the strokes, at the distance from the intersection of the segments equal to the product of the miter limit value and the border radius.  This prevents long spikes being created.
-            /// </summary>
-            Miter
-        }
-
-        /// <summary>
         /// The color to use for filling the path.
         /// </summary>
         /// <since_tizen> 9 </since_tizen>
@@ -123,7 +67,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// The gradient to use for filling the path.
         /// Even if FillColor is set, Gradient setting takes precedence.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public Gradient FillGradient
         {
             get
@@ -199,7 +143,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// The gradient to use for stroking the path.
         /// Even if StrokeColor is set, Gradient setting takes precedence.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public Gradient StrokeGradient
         {
             get
@@ -408,7 +352,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
         /// </summary>
         /// <param name="pathCommands">The command object that contain sub-path information. (This command information is copied internally.)</param>
         /// <exception cref="ArgumentNullException"> Thrown when pathCommands is null. </exception>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void AddPath(PathCommands pathCommands)
         {
             if (pathCommands == null)
index 6b1ce39..23a0da3 100755 (executable)
@@ -24,7 +24,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// <summary>
     /// Enumeration for The fill rule of shape.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public enum FillRuleType
     {
         /// <summary>
@@ -40,7 +40,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// <summary>
     /// Enumeration for The cap style to be used for stroking the path.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public enum StrokeCapType
     {
         /// <summary>
@@ -60,7 +60,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// <summary>
     /// numeration for The join style to be used for stroking the path.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public enum StrokeJoinType
     {
         /// <summary>
@@ -80,7 +80,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// <summary>
     /// Enumeration indicating the type used in the masking of two objects - the mask drawable and the own drawable.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public enum MaskType
     {
         /// <summary>
@@ -96,7 +96,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// <summary>
     /// Enumeration specifying how to fill the area outside the gradient bounds.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public enum SpreadType
     {
         /// <summary>
@@ -117,7 +117,7 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics
     /// Enumeration specifying the values of the path commands.
     /// Not to be confused with the path commands from the svg path element (like M, L, Q, H and many others).
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public enum PathCommandType
     {
         /// <summary>
index 5adf6a7..63b3c34 100644 (file)
@@ -93,7 +93,7 @@ namespace Tizen.NUI.Samples
             {
                 StrokeColor = new Color(0.0f, 0.5f, 0.0f, 0.5f),
                 StrokeWidth = 10.0f,
-                StrokeJoin = Shape.StrokeJoinType.Round,
+                StrokeJoin = StrokeJoinType.Round,
             };
             arcShape.AddArc(0.0f, 0.0f, 80.0f, 0.0f, 0.0f, true);
             arcShape.Translate(100.0f, 300.0f);
@@ -104,8 +104,8 @@ namespace Tizen.NUI.Samples
                 FillColor = new Color(0.0f, 0.5f, 0.0f, 0.5f),
                 StrokeColor = new Color(0.5f, 0.0f, 0.5f, 0.5f),
                 StrokeWidth = 30.0f,
-                FillRule = Shape.FillRuleType.EvenOdd,
-                StrokeJoin = Shape.StrokeJoinType.Round,
+                FillRule = FillRuleType.EvenOdd,
+                StrokeJoin = StrokeJoinType.Round,
             };
 
             shape.Scale(0.5f);
@@ -159,7 +159,7 @@ namespace Tizen.NUI.Samples
                 FillColor = new Color(0.0f, 1.0f, 1.0f, 1.0f),
                 StrokeColor = new Color(0.5f, 1.0f, 0.5f, 1.0f),
                 StrokeWidth = 30.0f,
-                StrokeCap = Shape.StrokeCapType.Round,
+                StrokeCap = StrokeCapType.Round,
                 FillGradient = starFillLinearGradient,
                 StrokeGradient = starStrokeLinearGradient,
             };