-// Copyright 2016 by Samsung Electronics, Inc.,
-//
-// This software is the confidential and proprietary information
-// of Samsung Electronics, Inc. ("Confidential Information"). You
-// shall not disclose such Confidential Information and shall use
-// it only in accordance with the terms of the license agreement
-// you entered into with Samsung.
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
using System;
namespace ElmSharp
{
/// <summary>
- /// A view used to draw a polygon (filled).
+ /// The Polygon is a widget that used to draw a polygon (filled).
/// </summary>
public class Polygon : EvasObject
{
/// <summary>
- /// Create a new Polygon widget.
- /// <param name="p">The EvasObject to which the new Polygon will be attached as a child.</param>
+ /// Creates and initializes a new instance of the Polygon class.
+ /// <param name="parent">The EvasObject to which the new Polygon will be attached as a child.</param>
/// </summary>
- public Polygon (EvasObject parent) : base(parent)
+ public Polygon(EvasObject parent) : base(parent)
{
}
/// <summary>
- /// Adds a new vertex to the polygon.
+ /// Adds a new vertex to the Polygon.
/// <param name="x">The X coordinate of the new vertex.</param>
/// <param name="y">The Y coordinate of the new vertex.</param>
/// </summary>
}
/// <summary>
- /// Adds a new vertex to the polygon.
+ /// Adds a new vertex to the Polygon.
/// <param name="p">The coordinates of the new vertex.</param>
/// </summary>
public void AddPoint(Point p)
}
/// <summary>
- /// Removes all the vertices of the polygon, making it empty.
+ /// Removes all the vertices of the Polygon, making it empty.
/// </summary>
public void ClearPoints()
{