mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 07:25:33 +00:00
c6d0343586
svn path=/trunk/gtk-sharp/; revision=35720
267 lines
10 KiB
XML
267 lines
10 KiB
XML
<Type Name="Attr" FullName="Pango.Attr">
|
|
<TypeSignature Language="C#" Value="public class Attr" Maintainer="auto" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>pango-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<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>
|
|
<summary>Static methods for attributes.</summary>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="red" Type="System.UInt16" />
|
|
<Parameter Name="green" Type="System.UInt16" />
|
|
<Parameter Name="blue" Type="System.UInt16" />
|
|
</Parameters>
|
|
<Docs>
|
|
<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>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="family" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font family attribute.</summary>
|
|
<param name="family"> the family or comma separated list of families</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="name" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<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 />
|
|
</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>
|
|
<Parameter Name="strikethrough" Type="System.Boolean" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font strike-through attribute.</summary>
|
|
<param name="strikethrough">
|
|
<see langword="true" /> if the text should be struck-through.</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="variant" Type="Pango.Variant" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font variant attribute (normal or small caps)</summary>
|
|
<param name="variant"> the <see cref="T:Pango.Variant" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="stretch" Type="Pango.Stretch" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font stretch attribute</summary>
|
|
<param name="stretch">a <see cref="T:Pango.Stretch" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="style" Type="Pango.Style" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font slant style attribute.</summary>
|
|
<param name="style"> the slant <see cref="T:Pango.Style" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="weight" Type="Pango.Weight" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font weight attribute.</summary>
|
|
<param name="weight">a <see cref="T:Pango.Weight" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="underline" Type="Pango.Underline" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new underline-style object.</summary>
|
|
<param name="underline"> the underline style.</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="SizeNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute SizeNew (int size);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="size" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font-size attribute.</summary>
|
|
<param name="size">the font size, in <see cref="T:Pango.Scale" />ths of a point.</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="red" Type="System.UInt16" />
|
|
<Parameter Name="green" Type="System.UInt16" />
|
|
<Parameter Name="blue" Type="System.UInt16" />
|
|
</Parameters>
|
|
<Docs>
|
|
<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>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="rise" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<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>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</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>
|
|
<Parameter Name="scale_factor" Type="System.Double" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font size scale attribute.</summary>
|
|
<param name="scale_factor"> factor to scale the font</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks>The base font for the affected text will have its size multiplied by <paramref name="scale_factor" />.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public Attr ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Default constructor</summary>
|
|
<returns>a <see cref="T:Pango.Attr" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<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>
|
|
</Members>
|
|
</Type> |