File: SWFShape.xml

package info (click to toggle)
phpdox 0.12.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,672 kB
  • sloc: xml: 80,724; php: 9,167; makefile: 13
file content (145 lines) | stat: -rw-r--r-- 8,661 bytes parent folder | download | duplicates (3)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="SWFShape" namespace="" name="SWFShape">
  <method name="addFill" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Adds a solid fill to the shape">SWFShape::addFill adds a solid fill to the shape's list of fill styles. SWFShape::addFill accepts three different types of arguments.</description>
      <return type="SWFFill"/>
    </docblock>
    <parameter name="red" optional="false" byreference="false" type="int"/>
    <parameter name="green" optional="false" byreference="false" type="int"/>
    <parameter name="blue" optional="false" byreference="false" type="int"/>
    <parameter name="alpha" optional="true" byreference="false" type="int"/>
  </method>
  <constructor name="__construct" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Creates a new shape object"/>
      <return type="void"/>
    </docblock>
  </constructor>
  <method name="drawArc" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Draws an arc of radius r centered at the current location, from angle startAngle to angle endAngle measured clockwise from 12 o'clock"/>
      <return type="void"/>
    </docblock>
    <parameter name="r" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="startAngle" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="endAngle" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="drawCircle" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Draws a circle of radius r centered at the current location, in a counter-clockwise fashion"/>
      <return type="void"/>
    </docblock>
    <parameter name="r" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="drawCubic" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Draws a cubic bezier curve using the current position and the three given points as control points"/>
      <return type="int"/>
    </docblock>
    <parameter name="bx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="by" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="cx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="cy" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="dx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="dy" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="drawCubicTo" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Draws a cubic bezier curve using the current position and the three given points as control points"/>
      <return type="int"/>
    </docblock>
    <parameter name="bx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="by" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="cx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="cy" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="dx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="dy" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="drawCurve" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Draws a curve (relative)"/>
      <return type="int"/>
    </docblock>
    <parameter name="controldx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="controldy" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="anchordx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="anchordy" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="targetdx" optional="true" byreference="false" type="object" class="float"/>
    <parameter name="targetdy" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="drawCurveTo" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Draws a curve"/>
      <return type="int"/>
    </docblock>
    <parameter name="controlx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="controly" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="anchorx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="anchory" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="targetx" optional="true" byreference="false" type="object" class="float"/>
    <parameter name="targety" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="drawGlyph" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Draws the first character in the given string into the shape using the glyph definition from the given font"/>
      <return type="void"/>
    </docblock>
    <parameter name="font" optional="false" byreference="false" type="object" class="SWFFont"/>
    <parameter name="character" optional="false" byreference="false" type="string"/>
    <parameter name="size" optional="true" byreference="false" type="int"/>
  </method>
  <method name="drawLine" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Draws a line (relative)"/>
      <return type="void"/>
    </docblock>
    <parameter name="dx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="dy" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="drawLineTo" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Draws a line"/>
      <return type="void"/>
    </docblock>
    <parameter name="x" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="y" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="movePen" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Moves the shape's pen (relative)"/>
      <return type="void"/>
    </docblock>
    <parameter name="dx" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="dy" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="movePenTo" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Moves the shape's pen"/>
      <return type="void"/>
    </docblock>
    <parameter name="x" optional="false" byreference="false" type="object" class="float"/>
    <parameter name="y" optional="false" byreference="false" type="object" class="float"/>
  </method>
  <method name="setLeftFill" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Sets left rasterizing color">What this nonsense is about is, every edge segment borders at most two fills. When rasterizing the object, it's pretty handy to know what those fills are ahead of time, so the swf format requires these to be specified.</description>
      <return type="void"/>
    </docblock>
    <parameter name="fill" optional="false" byreference="false" type="object" class="SWFGradient"/>
  </method>
  <method name="setLine" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Sets the shape's line style">swfshape::setline sets the shape's line style. width is the line's width. If width is 0, the line's style is removed (then, all other arguments are ignored). If width &gt; 0, then line's color is set to red, green, blue. Last parameter a is optional.</description>
      <return type="void"/>
    </docblock>
    <parameter name="shape" optional="false" byreference="false" type="object" class="SWFShape"/>
  </method>
  <method name="setRightFill" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Sets right rasterizing color"/>
      <return type="void"/>
    </docblock>
    <parameter name="fill" optional="false" byreference="false" type="object" class="SWFGradient"/>
  </method>
</class>