GtkSharp/doc/en/Gdk/Segment.xml

102 lines
3.2 KiB
XML
Raw Normal View History

<Type Name="Segment" FullName="Gdk.Segment">
<TypeSignature Language="C#" Maintainer="auto" Value="public struct Segment" />
<AssemblyInfo>
<AssemblyName>gdk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>2.10.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>Represents a line segment defined as [(x1,y1),(x2,y2)]</summary>
<remarks />
</Docs>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName="Zero">
<MemberSignature Language="C#" Value="public static Gdk.Segment Zero;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>Gdk.Segment</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>References a static field defined as new Gdk.Segment ();
</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="New">
<MemberSignature Language="C#" Value="public static Gdk.Segment New (IntPtr raw);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Segment</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>Returns a new <see cref="T:Gdk.Segment" /> object. </summary>
<param name="raw">an object of type 'IntPtr'</param>
<returns>an object of type 'Gdk.Segment'</returns>
<remarks>Passig IntPtr.Zero returns Gdk.Segment.Zero</remarks>
</Docs>
</Member>
<Member MemberName="X1">
<MemberSignature Language="C#" Value="public int X1;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>First x-value for the line segment.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Y1">
<MemberSignature Language="C#" Value="public int Y1;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>First y-value for the line segment.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="X2">
<MemberSignature Language="C#" Value="public int X2;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Second x-value for the line segment.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Y2">
<MemberSignature Language="C#" Value="public int Y2;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Second y-value for the line segment.</summary>
<remarks />
</Docs>
</Member>
</Members>
</Type>