File: RadialGradient.xml

package info (click to toggle)
monodoc 1.9-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 98,436 kB
  • ctags: 5,261
  • sloc: xml: 1,506,218; cs: 40,827; sh: 3,647; perl: 554; makefile: 476
file content (63 lines) | stat: -rw-r--r-- 2,576 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<Type Name="RadialGradient" FullName="Cairo.RadialGradient">
  <TypeSignature Language="C#" Value="public class RadialGradient : Cairo.Gradient" />
  <AssemblyInfo>
    <AssemblyName>Mono.Cairo</AssemblyName>
    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>Cairo.Gradient</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>Extends  <see cref="T:Cairo.Gradient" /> to create a new radial gradient between the two circles defined by (cx0, cxy0, radius0) and (cx1, cy1, radius1).  
</summary>
    <remarks>
      <para>Before using the gradient pattern, a number of color stops
  should be defined using AddColorStop() or AddColorStopRgb().</para>
      <para>
        <example>
          <code lang="C#">
pat = new RadialGradient (0.45, 0.4, 0.1, 0.4,  0.4, 0.5);

pat.AddColorStop (0, new Color (1, 1, 1, 1) );
pat.AddColorStop (1, new Color (0, 0, 0, 1) );
gr.Pattern =  pat;
gr.Arc (0.5, 0.5, 0.3, 0, 2 * Math.PI);
gr.Fill ();

pat.Destroy ();
  </code>
        </example>
      </para>
    </remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public RadialGradient (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1);" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="cx0" Type="System.Double" />
        <Parameter Name="cy0" Type="System.Double" />
        <Parameter Name="radius0" Type="System.Double" />
        <Parameter Name="cx1" Type="System.Double" />
        <Parameter Name="cy1" Type="System.Double" />
        <Parameter Name="radius1" Type="System.Double" />
      </Parameters>
      <Docs>
        <param name="cx0">x coordinate for the center of the start circle</param>
        <param name="cy0">y coordinate for the center of the start circle</param>
        <param name="radius0">radius of the start cirle</param>
        <param name="cx1">x coordinate for the center of the end circle</param>
        <param name="cy1">y coordinate for the center of the end circle</param>
        <param name="radius1">radius of the end cirle</param>
        <summary>Create a new radial gradient <see cref="T:Cairo.Pattern" /> between the two circles defined by (cx0, cy0, radius0) and (cx1, cy1, radius1)</summary>
        <remarks />
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>