<Type Name="CanvasShape" FullName="Gnome.CanvasShape"> <TypeSignature Language="C#" Maintainer="auto" Value="public class CanvasShape : Gnome.CanvasItem" /> <AssemblyInfo> <AssemblyName>gnome-sharp</AssemblyName> <AssemblyPublicKey> </AssemblyPublicKey> <AssemblyVersion>2.8.0.0</AssemblyVersion> </AssemblyInfo> <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> <Docs> <summary>Base class for canvas item shapes</summary> <remarks> <para> Provides a base class for canvas item shapes, including: <see cref="T:Gnome.CanvasBpath" />, <see cref="T:Gnome.CanvasEllipse" />, <see cref="T:Gnome.CanvasRect" />, and <see cref="T:Gnome.CanvasPolygon" />. </para> </remarks> </Docs> <Base> <BaseTypeName>Gnome.CanvasItem</BaseTypeName> </Base> <Interfaces> </Interfaces> <Members> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public CanvasShape (IntPtr raw);" /> <MemberType>Constructor</MemberType> <ReturnValue /> <Parameters> <Parameter Name="raw" Type="System.IntPtr" /> </Parameters> <Docs> <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> </Docs> </Member> <Member MemberName="PathDef"> <MemberSignature Language="C#" Value="public Gnome.CanvasPathDef PathDef { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gnome.CanvasPathDef</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>The <see cref="T:Gnome.CanvasPathDef" /> used</summary> <value> a <see cref="T:Gnome.CanvasPathDef" /> or <see langword="null" /> if none is set for the shape. </value> <remarks> <para> It does not request updates, as it is meant to be used from item implementations, from inside update queue. </para> </remarks> </Docs> </Member> <Member MemberName="FillStipple"> <MemberSignature Language="C#" Value="public Gdk.Drawable FillStipple { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gdk.Drawable</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Stipple pattern for fill.</summary> <value>Stipple pattern</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="fill_stipple")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="OutlineColor"> <MemberSignature Language="C#" Value="public string OutlineColor { set; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.String</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>X color specification for outline color, or <see langword="null" /> pointer for no color (transparent).</summary> <value>X color specification</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="outline_color")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="CapStyle"> <MemberSignature Language="C#" Value="public Gdk.CapStyle CapStyle { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gdk.CapStyle</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Cap (end point) style for the Bezier path.</summary> <value>Cap style used by the Bezier path</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="cap_style")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="JoinStyle"> <MemberSignature Language="C#" Value="public Gdk.JoinStyle JoinStyle { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gdk.JoinStyle</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Vertex join style for the Bezier path.</summary> <value>Verty join style used by the Bezier path</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="join_style")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="FillColorRgba"> <MemberSignature Language="C#" Value="public uint FillColorRgba { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.UInt32</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Fill color with an alpha component (in the format 0xRRGGBBAA).</summary> <value>the fill color</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="fill_color_rgba")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="Miterlimit"> <MemberSignature Language="C#" Value="public double Miterlimit { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.Double</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Minimum angle between segments, where miter join rule is applied.</summary> <value>Minimum angle between segments, where miter join rule is applied.</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="miterlimit")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="FillColorGdk"> <MemberSignature Language="C#" Value="public Gdk.Color FillColorGdk { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gdk.Color</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Allocated <see cref="T:Gdk.Color" /> for fill.</summary> <value>the <see cref="T:Gdk.Color" /> to fill</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="fill_color_gdk")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="WidthUnits"> <MemberSignature Language="C#" Value="public double WidthUnits { set; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.Double</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Width of the outline in canvas units. The outline will be scaled when the canvas zoom factor is changed.</summary> <value>width of the outline</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="width_units")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="OutlineColorRgba"> <MemberSignature Language="C#" Value="public uint OutlineColorRgba { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.UInt32</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Outline color with an alpha component (in the format 0xRRGGBBAA).</summary> <value>outline color</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="outline_color_rgba")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="WidthPixels"> <MemberSignature Language="C#" Value="public uint WidthPixels { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.UInt32</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Width of the outline in pixels. The outline will not be scaled when the canvas zoom factor is changed.</summary> <value>width of the outline</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="width_pixels")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="Wind"> <MemberSignature Language="C#" Value="public uint Wind { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.UInt32</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Winding rule for the Bezier path</summary> <value>winding rule used by the Bezier path</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="wind")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="OutlineStipple"> <MemberSignature Language="C#" Value="public Gdk.Drawable OutlineStipple { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gdk.Drawable</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Stipple pattern for outline.</summary> <value>Stipple pattern used by the outline</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="outline_stipple")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="FillColor"> <MemberSignature Language="C#" Value="public string FillColor { set; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.String</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary> X color specification for fill color, or <see langword="null" /> pointer for no color (transparent). </summary> <value>X color specification</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="fill_color")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="OutlineColorGdk"> <MemberSignature Language="C#" Value="public Gdk.Color OutlineColorGdk { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gdk.Color</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Allocated <see cref="T:Gdk.Color" /> for outline.</summary> <value>the color of the outline</value> <remarks> </remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="outline_color_gdk")</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName="Dash"> <MemberSignature Language="C#" Value="public Art.VpathDash Dash { set; get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Art.VpathDash</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>To be added</summary> <value>a <see cref="T:Art.VpathDash" /></value> <remarks>To be added</remarks> </Docs> <Attributes> <Attribute> <AttributeName>GLib.Property(Name="dash")</AttributeName> </Attribute> </Attributes> </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> <summary>GType Property.</summary> <value>a <see cref="T:GLib.GType" /></value> <remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gnome.CanvasShape" />.</remarks> </Docs> </Member> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="protected CanvasShape (GLib.GType gtype);" /> <MemberType>Constructor</MemberType> <ReturnValue /> <Parameters> <Parameter Name="gtype" Type="GLib.GType" /> </Parameters> <Docs> <summary>Protected Constructor.</summary> <param name="gtype">a <see cref="T:GLib.GType" /></param> <remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks> </Docs> <Attributes> <Attribute> <AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName> </Attribute> </Attributes> </Member> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="protected CanvasShape (Gnome.CanvasGroup group, GLib.GType type);" /> <MemberType>Constructor</MemberType> <ReturnValue /> <Parameters> <Parameter Name="group" Type="Gnome.CanvasGroup" /> <Parameter Name="type" Type="GLib.GType" /> </Parameters> <Docs> <summary>To be added</summary> <param name="group">a <see cref="T:Gnome.CanvasGroup" /></param> <param name="type">a <see cref="T:GLib.GType" /></param> <remarks>To be added</remarks> </Docs> </Member> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="protected CanvasShape ();" /> <MemberType>Constructor</MemberType> <ReturnValue /> <Parameters /> <Docs> <summary>To be added</summary> <remarks>To be added</remarks> </Docs> </Member> </Members> </Type>