Class DashedlineStyle
-
Jaguar\Drawable\Style\DashedlineStyle
implements
Jaguar\Drawable\StyleInterface
Methods summary
public
|
#
__construct( integer $fct = 1, integer $sct = 1, Jaguar\Color\ColorInterface $color = null )
construct new dashedline style
construct new dashedline style
Parameters
- $fct
integer $fct the first color show time
- $sct
integer $sct the second color show time
- $color
Jaguar\Color\ColorInterface
$color the second color
Throws
InvalidArgumentException if the time <=0
|
public
Jaguar\Drawable\Style\DashedlineStyle
|
#
setSecondColor( Jaguar\Color\ColorInterface $color )
Set second color to use when drawing the dashed line , where by default the
colo is transparent
Set second color to use when drawing the dashed line , where by default the
colo is transparent
Parameters
Returns
|
public
Jaguar\Color\ColorInterface
|
#
getSecondColor( )
Get the second color
Returns
|
public
Jaguar\Drawable\Style\DashedlineStyle
|
#
setFirstColorShowTime( integer $time )
Set the first color show time
Set the first color show time
the color show time is a number which indicates how many time to show the
color before starting by showing the second color .
for instance : 5 menas will draw five pixels with the first color (the
default drawable color) then draw n pixels using the second color
Parameters
Returns
Throws
InvalidArgumentException if the time <=0
|
public
integer
|
#
getFirstColorShowTime( )
Get the first color show time
Get the first color show time
Returns
integer
|
public
Jaguar\Drawable\Style\DashedlineStyle
|
#
setSecondColorShowTime( integer $time )
Set the second color show time
Set the second color show time
Parameters
Returns
Throws
InvalidArgumentException if the time <=0
See
|
public
integer
|
#
getSecondColorShowTime( )
Get the second color show time
Get the second color show time
Returns
integer
|
public
|
|
public
|
|
Magic methods summary