Methods Summary | ||
---|---|---|
public
|
#
__construct( string $url , \ComponentMargin|null $margin = NULL, \ComponentIconSize|null $size = NULL, \ComponentIconAspectRatio|null $aspectRatio = NULL )
IconComponentBuilder constructor.
|
|
public static
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
setPosition( string|\ComponentPosition|null $position )
Set position.
specifiable relative or absolute
|
|
public
|
#
setOffsetTop( string|\ComponentSpacing|null $offsetTop )
Set offsetTop.
specifiable percentage, pixel and keyword.
(e.g.
percentage: 5%
pixel: 5px
keyword: none (defined in ComponentSpacing)
|
|
public
|
#
setOffsetBottom( string|\ComponentSpacing|null $offsetBottom )
Set offsetBottom.
specifiable percentage, pixel and keyword.
(e.g.
percentage: 5%
pixel: 5px
keyword: none (defined in ComponentSpacing)
|
|
public
|
#
setOffsetStart( string|\ComponentSpacing|null $offsetStart )
Set offsetStart.
specifiable percentage, pixel and keyword.
(e.g.
percentage: 5%
pixel: 5px
keyword: none (defined in ComponentSpacing)
|
|
public
|
#
setOffsetEnd( string|\ComponentSpacing|null $offsetEnd )
Set offsetEnd.
specifiable percentage, pixel and keyword.
(e.g.
percentage: 5%
pixel: 5px
keyword: none (defined in ComponentSpacing)
|
|
public
|