efl_gfx_gradient: convert docs

This commit is contained in:
Daniel Kolesa 2015-06-18 16:28:33 +01:00
parent cdbf57979f
commit 4b0b8960b6
2 changed files with 17 additions and 31 deletions

View File

@ -5,33 +5,27 @@ interface Efl.Gfx.Gradient.Base
methods {
@property stop {
set {
/*@
Set the list of color stops for the gradient
*/
[[Set the list of color stops for the gradient]]
}
get {
/*@
get the list of color stops.
*/
[[Get the list of color stops.]]
}
values {
colors: const(Efl_Gfx_Gradient_Stop) *; /*@ color stops list*/
length: uint; /*@ length of the list */
colors: const(Efl_Gfx_Gradient_Stop) *; [[color stops list]]
length: uint; [[length of the list]]
}
}
@property spread {
set {
/*@
Specifies the spread method that should be used for this gradient.
*/
[[Specifies the spread method that should be used for this gradient.]]
}
get {
/*@
Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.
*/
[[Returns the spread method use by this gradient. The default is
EFL_GFX_GRADIENT_SPREAD_PAD.
]]
}
values {
s: Efl_Gfx_Gradient_Spread; /*@ spread type to be used */
s: Efl_Gfx_Gradient_Spread; [[spread type to be used]]
}
}
}

View File

@ -4,34 +4,26 @@ interface Efl.Gfx.Gradient.Linear (Efl.Gfx.Gradient.Base)
methods {
@property start {
set {
/*@
Sets the start point of this linear gradient.
*/
[[Sets the start point of this linear gradient.]]
}
get {
/*@
Gets the start point of this linear gradient.
*/
[[Gets the start point of this linear gradient.]]
}
values {
x: double; /*@ x co-ordinate of start point */
y: double; /*@ y co-ordinate of start point */
x: double; [[x co-ordinate of start point]]
y: double; [[y co-ordinate of start point]]
}
}
@property end {
set {
/*@
Sets the end point of this linear gradient.
*/
[[Sets the end point of this linear gradient.]]
}
get {
/*@
Gets the end point of this linear gradient.
*/
[[Gets the end point of this linear gradient.]]
}
values {
x: double; /*@ x co-ordinate of end point */
y: double; /*@ y co-ordinate of end point */
x: double; [[x co-ordinate of end point]]
y: double; [[y co-ordinate of end point]]
}
}
}