2003-02-12 02:14:42 +00:00
<Type Name= "CanvasPolygon" FullName= "Gnome.CanvasPolygon" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class CanvasPolygon : Gnome.CanvasShape" />
2003-02-12 02:14:42 +00:00
<AssemblyInfo >
<AssemblyName > gnome-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-06-17 18:43:30 +00:00
<AssemblyVersion > 2.6.0.0</AssemblyVersion>
2003-02-12 02:14:42 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 02:14:42 +00:00
<Docs >
2003-07-30 06:34:41 +00:00
<summary > Polygon canvas item</summary>
<remarks >
<para >
A canvas item for drawing polygon (multi sided) shapes.
</para>
</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
<Base >
<BaseTypeName > Gnome.CanvasShape</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
<Members >
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CanvasPolygon (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-07-30 06:34:41 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CanvasPolygon (Gnome.CanvasGroup group);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-07-30 06:34:41 +00:00
<Parameter Name= "group" Type= "Gnome.CanvasGroup" />
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
2003-07-30 06:34:41 +00:00
<summary > Creates a new polygon</summary>
<param name= "group" >
The <see cref= "T:Gnome.CanvasGroup" /> that this item
belongs to.
</param>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
</Member>
<Member MemberName= "Points" >
<MemberSignature Language= "C#" Value= "public Gnome.CanvasPoints Points { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gnome.CanvasPoints</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
2003-07-30 06:34:41 +00:00
<summary > a <see cref= "T:Gnome.CanvasPoints" /> pointer. This
can be created by a call to the <see cref= "C:Gnome.CanvasPoints" /> constructor.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gnome.CanvasPoints" /> pointer.</value>
2003-03-07 01:30:00 +00:00
<remarks >
</remarks>
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="points")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "ToPoint" >
<MemberSignature Language= "C#" Value= "public static double ToPoint (out double poly, int num_points, double x, double y);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "poly" Type= "System.Double&" RefType= "out" />
<Parameter Name= "num_points" Type= "System.Int32" />
<Parameter Name= "x" Type= "System.Double" />
<Parameter Name= "y" Type= "System.Double" />
</Parameters>
<Docs >
<summary > Computes the distance between a point and a polygon.</summary>
<param name= "poly" > FIXME
Vertices of the polygon. X coordinates are in the even
indices, and Y coordinates are in the odd indices.</param>
<param name= "num_points" > Number of points in the polygon.</param>
<param name= "x" > X coordinate of the point.</param>
<param name= "y" > Y coordinate of the point.</param>
<returns > The distance from the point to the polygon, or zero if the point is inside the polygon.</returns>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
</Docs>
</Member>
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gnome.CanvasPolygon" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected CanvasPolygon (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-10-28 00:48:23 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-06-01 18:05:26 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected CanvasPolygon ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
<summary > To be added</summary>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2004-06-01 18:05:26 +00:00
</Docs>
</Member>
2003-02-12 02:14:42 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>