2003-02-12 02:14:42 +00:00
<Type Name= "CanvasPolygon" FullName= "Gnome.CanvasPolygon" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public class CanvasPolygon : Gnome.CanvasShape, IWrapper, IDisposable" Maintainer= "auto" />
2003-02-12 02:14:42 +00:00
<AssemblyInfo >
<AssemblyName > gnome-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 02:14:42 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 02:14:42 +00:00
<Attributes />
</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 >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members >
<Member MemberName= "Finalize" >
2003-10-13 22:55:58 +00:00
<MemberSignature Language= "C#" Value= "protected override void Finalize ();" />
2003-02-12 02:14:42 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Disposes the resources associated with the object.</summary>
<remarks />
2003-02-12 02:14:42 +00:00
</Docs>
</Member>
<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>
<returns > An instance of CanvasPolygon, wrapping the C object.</returns>
<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>
<returns > the newly-created <see cref= "T:Gnome.CanvasPolygon" /> object</returns>
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>
<param name= "value" > a <see cref= "T:Gnome.CanvasPoints" /> pointer.</param>
<returns > a <see cref= "T:Gnome.CanvasPoints" /> pointer.</returns>
2003-03-07 01:30:00 +00:00
<remarks >
</remarks>
</Docs>
</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>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
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>
<returns > a <see cref= "T:Gnome.CanvasPolygon" /> </returns>
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>
</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>
<returns > a <see cref= "T:Gnome.CanvasPolygon" /> </returns>
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>
2003-07-30 06:34:41 +00:00
</Type>