2003-07-17 06:35:10 +00:00
<Type Name= "Attr" FullName= "Pango.Attr" >
<TypeSignature Language= "C#" Value= "public class Attr" Maintainer= "auto" />
<AssemblyInfo >
<AssemblyName > pango-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-07-17 06:35:10 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
<AssemblyCulture > neutral</AssemblyCulture>
<Attributes />
</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 >
2004-07-17 17:24:02 +00:00
<summary > Static methods for attributes.</summary>
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
<Member MemberName= "ForegroundNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute ForegroundNew (ushort red, ushort green, ushort blue);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "red" Type= "System.UInt16" />
<Parameter Name= "green" Type= "System.UInt16" />
<Parameter Name= "blue" Type= "System.UInt16" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new foreground color attribute.</summary>
<param name= "red" > the red value (ranging from 0 to 65535)</param>
<param name= "green" > the green value</param>
<param name= "blue" > the blue value</param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "FamilyNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute FamilyNew (string family);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "family" Type= "System.String" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new font family attribute.</summary>
<param name= "family" > the family or comma separated list of families</param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "TypeRegister" >
<MemberSignature Language= "C#" Value= "public static Pango.AttrType TypeRegister (string name);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.AttrType</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "name" Type= "System.String" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Allocate a new attribute type ID.</summary>
<param name= "name" > an identifier for the type. (Currently unused.)</param>
<returns > the new type ID.</returns>
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "StrikethroughNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute StrikethroughNew (bool strikethrough);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "strikethrough" Type= "System.Boolean" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new font strike-through attribute.</summary>
<param name= "strikethrough" >
<see langword= "true" /> if the text should be struck-through.</param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "VariantNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute VariantNew (Pango.Variant variant);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "variant" Type= "Pango.Variant" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new font variant attribute (normal or small caps)</summary>
<param name= "variant" > the <see cref= "T:Pango.Variant" /> </param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "StretchNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute StretchNew (Pango.Stretch stretch);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "stretch" Type= "Pango.Stretch" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new font stretch attribute</summary>
2003-07-17 06:35:10 +00:00
<param name= "stretch" > a <see cref= "T:Pango.Stretch" /> </param>
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "StyleNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute StyleNew (Pango.Style style);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "style" Type= "Pango.Style" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new font slant style attribute.</summary>
<param name= "style" > the slant <see cref= "T:Pango.Style" /> </param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "WeightNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute WeightNew (Pango.Weight weight);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "weight" Type= "Pango.Weight" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new font weight attribute.</summary>
2003-07-17 06:35:10 +00:00
<param name= "weight" > a <see cref= "T:Pango.Weight" /> </param>
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "UnderlineNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute UnderlineNew (Pango.Underline underline);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "underline" Type= "Pango.Underline" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new underline-style object.</summary>
<param name= "underline" > the underline style.</param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "BackgroundNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute BackgroundNew (ushort red, ushort green, ushort blue);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "red" Type= "System.UInt16" />
<Parameter Name= "green" Type= "System.UInt16" />
<Parameter Name= "blue" Type= "System.UInt16" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new background color attribute.</summary>
<param name= "red" > the red value (ranging from 0 to 65535)</param>
<param name= "green" > the green value</param>
<param name= "blue" > the blue value</param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "RiseNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute RiseNew (int rise);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "rise" Type= "System.Int32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new baseline displacement attribute.</summary>
<param name= "rise" > the amount that the text should be displaced vertically, in 10'000ths of an em. Positive values displace the text upwards.</param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "ScaleNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute ScaleNew (double scale_factor);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "scale_factor" Type= "System.Double" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Create a new font size scale attribute.</summary>
<param name= "scale_factor" > factor to scale the font</param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks > The base font for the affected text will have its size multiplied by <paramref name= "scale_factor" /> .</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Attr ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-07-13 17:20:13 +00:00
<summary > Default constructor</summary>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Pango.Attr" /> </returns>
2004-07-13 17:20:13 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2004-11-05 19:05:29 +00:00
<Member MemberName= "FallbackNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute FallbackNew (bool enable_fallback);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "enable_fallback" Type= "System.Boolean" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "enable_fallback" > a <see cref= "T:System.Boolean" /> </param>
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "UnderlineColorNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute UnderlineColorNew (ushort red, ushort green, ushort blue);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "red" Type= "System.UInt16" />
<Parameter Name= "green" Type= "System.UInt16" />
<Parameter Name= "blue" Type= "System.UInt16" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "red" > a <see cref= "T:System.UInt16" /> </param>
<param name= "green" > a <see cref= "T:System.UInt16" /> </param>
<param name= "blue" > a <see cref= "T:System.UInt16" /> </param>
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "LetterSpacingNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute LetterSpacingNew (int letter_spacing);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "letter_spacing" Type= "System.Int32" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "letter_spacing" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "StrikethroughColorNew" >
<MemberSignature Language= "C#" Value= "public static Pango.Attribute StrikethroughColorNew (ushort red, ushort green, ushort blue);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Attribute</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "red" Type= "System.UInt16" />
<Parameter Name= "green" Type= "System.UInt16" />
<Parameter Name= "blue" Type= "System.UInt16" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "red" > a <see cref= "T:System.UInt16" /> </param>
<param name= "green" > a <see cref= "T:System.UInt16" /> </param>
<param name= "blue" > a <see cref= "T:System.UInt16" /> </param>
<returns > a <see cref= "T:Pango.Attribute" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2003-07-17 06:35:10 +00:00
</Members>
2005-04-21 17:10:54 +00:00
</Type>