Line
extends Image
in package
Line style.
Table of Contents
Constants
- ARROW_STYLE_BLOCK = 'block'
- Arrow styles.
- ARROW_STYLE_CLASSIC = 'classic'
- ARROW_STYLE_DIAMOND = 'diamond'
- ARROW_STYLE_OPEN = 'open'
- ARROW_STYLE_OVAL = 'oval'
- CONNECTOR_TYPE_STRAIGHT = 'straight'
- Connector types.
- DASH_STYLE_DASH = 'dash'
- Dash styles.
- DASH_STYLE_DASH_DOT = 'dashdot'
- DASH_STYLE_LONG_DASH = 'longdash'
- DASH_STYLE_LONG_DASH_DOT = 'longdashdot'
- DASH_STYLE_LONG_DASH_DOT_DOT = 'longdashdotdot'
- DASH_STYLE_ROUND_DOT = 'rounddot'
- DASH_STYLE_SQUARE_DOT = 'squaredot'
- POS_ABSOLUTE = 'absolute'
- General positioning options.
- POS_BOTTOM = 'bottom'
- POS_CENTER = 'center'
- Horizontal/vertical value.
- POS_INSIDE = 'inside'
- POS_LEFT = 'left'
- POS_OUTSIDE = 'outside'
- POS_RELATIVE = 'relative'
- POS_RELTO_BMARGIN = 'bottom-margin-area'
- POS_RELTO_CHAR = 'char'
- POS_RELTO_COLUMN = 'column'
- POS_RELTO_IMARGIN = 'inner-margin-area'
- POS_RELTO_LINE = 'line'
- POS_RELTO_LMARGIN = 'left-margin-area'
- POS_RELTO_MARGIN = 'margin'
- Position relative to.
- POS_RELTO_OMARGIN = 'outer-margin-area'
- POS_RELTO_PAGE = 'page'
- POS_RELTO_RMARGIN = 'right-margin-area'
- POS_RELTO_TEXT = 'text'
- POS_RELTO_TMARGIN = 'top-margin-area'
- POS_RIGHT = 'right'
- POS_TOP = 'top'
- POSITION_ABSOLUTE = self::POS_ABSOLUTE
- POSITION_HORIZONTAL_CENTER = self::POS_CENTER
- POSITION_HORIZONTAL_LEFT = self::POS_LEFT
- POSITION_HORIZONTAL_RIGHT = self::POS_RIGHT
- POSITION_RELATIVE = self::POS_RELATIVE
- POSITION_RELATIVE_TO_BMARGIN = self::POS_RELTO_BMARGIN
- POSITION_RELATIVE_TO_CHAR = self::POS_RELTO_CHAR
- POSITION_RELATIVE_TO_COLUMN = self::POS_RELTO_COLUMN
- POSITION_RELATIVE_TO_IMARGIN = self::POS_RELTO_IMARGIN
- POSITION_RELATIVE_TO_LINE = self::POS_RELTO_LINE
- POSITION_RELATIVE_TO_LMARGIN = self::POS_RELTO_LMARGIN
- POSITION_RELATIVE_TO_MARGIN = self::POS_RELTO_MARGIN
- POSITION_RELATIVE_TO_OMARGIN = self::POS_RELTO_OMARGIN
- POSITION_RELATIVE_TO_PAGE = self::POS_RELTO_PAGE
- POSITION_RELATIVE_TO_RMARGIN = self::POS_RELTO_RMARGIN
- POSITION_RELATIVE_TO_TEXT = self::POS_RELTO_TEXT
- POSITION_RELATIVE_TO_TMARGIN = self::POS_RELTO_TMARGIN
- POSITION_VERTICAL_BOTTOM = self::POS_BOTTOM
- POSITION_VERTICAL_CENTER = self::POS_CENTER
- POSITION_VERTICAL_INSIDE = self::POS_INSIDE
- POSITION_VERTICAL_OUTSIDE = self::POS_OUTSIDE
- POSITION_VERTICAL_TOP = self::POS_TOP
- UNIT_PT = 'pt'
- Length unit.
- UNIT_PX = 'px'
- WRAP_BEHIND = 'behind'
- WRAP_INFRONT = 'infront'
- WRAP_INLINE = 'inline'
- Wrap type.
- WRAP_SQUARE = 'square'
- WRAP_THROUGH = 'through'
- WRAP_TIGHT = 'tight'
- WRAP_TOPBOTTOM = 'topAndBottom'
- WRAPPING_STYLE_BEHIND = self::WRAP_BEHIND
- WRAPPING_STYLE_INFRONT = self::WRAP_INFRONT
- WRAPPING_STYLE_INLINE = self::WRAP_INLINE
- Backward compatibility constants.
- WRAPPING_STYLE_SQUARE = self::WRAP_SQUARE
- WRAPPING_STYLE_TIGHT = self::WRAP_TIGHT
Properties
- $aliases : array<string|int, mixed>
- Aliases.
- $index : null|int
- Index number in Style collection for named style.
- $styleName : string|null
- Style name.
- $alignment : string
- $beginArrow : string
- Begin arrow.
- $color : string
- Line color.
- $connectorType : string
- connectorType.
- $dash : string
- Dash style.
- $endArrow : string
- End arrow.
- $flip : bool
- flip Line.
- $height : float|int
- Height.
- $hPos : string
- Horizontal position.
- $hPosRelTo : string
- Horizontal position relative to.
- $isAuto : bool
- Is this an automatic style? (Used primarily in OpenDocument driver).
- $left : float|int
- Leftmost (horizontal) position.
- $pos : string
- Position type: absolute|relative.
- $position : int
- Vertically raised or lowered text.
- $top : float|int
- Topmost (vertical) position.
- $unit : string
- Unit.
- $vPos : string
- Vertical position.
- $vPosRelTo : string
- Vertical position relative to.
- $weight : int
- Line Weight.
- $width : float|int
- Width.
- $wrap : string
- Wrap type.
- $wrapDistanceBottom : float
- Bottom wrap distance.
- $wrapDistanceLeft : float
- Left wrap distance.
- $wrapDistanceRight : float
- Right wrap distance.
- $wrapDistanceTop : float
- Top wrap distance.
Methods
- __construct() : mixed
- Create new instance.
- getAlignment() : string
- getBeginArrow() : string
- Get beginArrow.
- getChildStyleValue() : mixed
- Return style value of child style object, e.g. `left` from `Indentation` child style of `Paragraph`.
- getColor() : string
- Get color.
- getConnectorType() : string
- Get connectorType.
- getDash() : string
- Get Dash.
- getEndArrow() : string
- Get endArrow.
- getHeight() : float|int
- Get height.
- getHPos() : string
- Get horizontal position.
- getHPosRelTo() : string
- Get horizontal position relative to.
- getIndex() : null|int
- Get index number.
- getLeft() : float|int
- Get left.
- getMarginLeft() : float|int
- Get margin left.
- getMarginTop() : float|int
- Get margin top.
- getPos() : string
- Get position type.
- getPosHorizontal() : string
- Get horizontal alignment.
- getPosHorizontalRel() : string
- Get horizontal relation.
- getPosition() : int
- Get position.
- getPositioning() : string
- Get positioning type.
- getPosVertical() : string
- Get vertical alignment.
- getPosVerticalRel() : string
- Get vertical relation.
- getStyleName() : string|null
- Get style name.
- getTop() : float|int
- Get topmost position.
- getUnit() : string
- Get unit.
- getVPos() : string
- Get vertical position.
- getVPosRelTo() : string
- Get vertical position relative to.
- getWeight() : int
- Get weight.
- getWidth() : float|int
- Get width.
- getWrap() : string
- Get wrap type.
- getWrapDistanceBottom() : float
- Get bottom distance from text wrap.
- getWrapDistanceLeft() : float
- Get left distance from text wrap.
- getWrapDistanceRight() : float
- Get right distance from text wrap.
- getWrapDistanceTop() : float
- Get top distance from text wrap.
- getWrappingStyle() : string
- Get wrapping style.
- isAuto() : bool
- Get is automatic style flag.
- isFlip() : bool
- Get flip.
- setAlignment() : self
- setAuto() : self
- Set is automatic style flag.
- setBeginArrow() : self
- Set beginArrow.
- setColor() : self
- Set color.
- setConnectorType() : self
- Set connectorType.
- setDash() : self
- Set Dash.
- setEndArrow() : self
- Set endArrow.
- setFlip() : self
- Set flip.
- setHeight() : self
- Set height.
- setHPos() : self
- Set horizontal position.
- setHPosRelTo() : self
- Set horizontal position relative to.
- setIndex() : self
- Set index number.
- setLeft() : self
- Set left.
- setMarginLeft() : self
- Set margin left.
- setMarginTop() : self
- Set margin top.
- setPos() : self
- Set position type.
- setPosHorizontal() : self
- Set horizontal alignment.
- setPosHorizontalRel() : self
- Set horizontal relation.
- setPosition() : self
- Set position.
- setPositioning() : self
- Set positioning type.
- setPosVertical() : self
- Set vertical alignment.
- setPosVerticalRel() : self
- Set vertical relation.
- setStyleByArray() : self
- Set style by using associative array.
- setStyleName() : self
- Set style name.
- setStyleValue() : self
- Set style value template method.
- setTop() : self
- Set topmost position.
- setUnit() : self
- Set unit.
- setVPos() : self
- Set vertical position.
- setVPosRelTo() : self
- Set vertical position relative to.
- setWeight() : self
- Set weight.
- setWidth() : self
- Set width.
- setWrap() : self
- Set wrap type.
- setWrapDistanceBottom() : self
- Set bottom distance from text wrap.
- setWrapDistanceLeft() : self
- Set left distance from text wrap.
- setWrapDistanceRight() : self
- Set right distance from text wrap.
- setWrapDistanceTop() : self
- Set top distance from text wrap.
- setWrappingStyle() : self
- Set wrapping style.
- setBoolVal() : bool
- Set bool value.
- setEnumVal() : mixed
- Set enum value.
- setFloatVal() : null|float
- Set float value: Convert string that contains only numeric into float.
- setIntVal() : null|int
- Set integer value: Convert string that contains only numeric into integer.
- setNonEmptyVal() : string
- Set default for null and empty value.
- setNumericVal() : null|float|int
- Set numeric value.
- setObjectVal() : mixed
- Set object value.
- setPairedVal() : self
- Set $property value and set $pairProperty = false when $value = true.
Constants
ARROW_STYLE_BLOCK
Arrow styles.
public
mixed
ARROW_STYLE_BLOCK
= 'block'
Tags
ARROW_STYLE_CLASSIC
public
mixed
ARROW_STYLE_CLASSIC
= 'classic'
ARROW_STYLE_DIAMOND
public
mixed
ARROW_STYLE_DIAMOND
= 'diamond'
ARROW_STYLE_OPEN
public
mixed
ARROW_STYLE_OPEN
= 'open'
ARROW_STYLE_OVAL
public
mixed
ARROW_STYLE_OVAL
= 'oval'
CONNECTOR_TYPE_STRAIGHT
Connector types.
public
mixed
CONNECTOR_TYPE_STRAIGHT
= 'straight'
Tags
DASH_STYLE_DASH
Dash styles.
public
mixed
DASH_STYLE_DASH
= 'dash'
Tags
DASH_STYLE_DASH_DOT
public
mixed
DASH_STYLE_DASH_DOT
= 'dashdot'
DASH_STYLE_LONG_DASH
public
mixed
DASH_STYLE_LONG_DASH
= 'longdash'
DASH_STYLE_LONG_DASH_DOT
public
mixed
DASH_STYLE_LONG_DASH_DOT
= 'longdashdot'
DASH_STYLE_LONG_DASH_DOT_DOT
public
mixed
DASH_STYLE_LONG_DASH_DOT_DOT
= 'longdashdotdot'
DASH_STYLE_ROUND_DOT
public
mixed
DASH_STYLE_ROUND_DOT
= 'rounddot'
DASH_STYLE_SQUARE_DOT
public
mixed
DASH_STYLE_SQUARE_DOT
= 'squaredot'
POS_ABSOLUTE
General positioning options.
public
mixed
POS_ABSOLUTE
= 'absolute'
Tags
POS_BOTTOM
public
mixed
POS_BOTTOM
= 'bottom'
POS_CENTER
Horizontal/vertical value.
public
mixed
POS_CENTER
= 'center'
Tags
POS_INSIDE
public
mixed
POS_INSIDE
= 'inside'
POS_LEFT
public
mixed
POS_LEFT
= 'left'
POS_OUTSIDE
public
mixed
POS_OUTSIDE
= 'outside'
POS_RELATIVE
public
mixed
POS_RELATIVE
= 'relative'
POS_RELTO_BMARGIN
public
mixed
POS_RELTO_BMARGIN
= 'bottom-margin-area'
POS_RELTO_CHAR
public
mixed
POS_RELTO_CHAR
= 'char'
POS_RELTO_COLUMN
public
mixed
POS_RELTO_COLUMN
= 'column'
POS_RELTO_IMARGIN
public
mixed
POS_RELTO_IMARGIN
= 'inner-margin-area'
POS_RELTO_LINE
public
mixed
POS_RELTO_LINE
= 'line'
POS_RELTO_LMARGIN
public
mixed
POS_RELTO_LMARGIN
= 'left-margin-area'
POS_RELTO_MARGIN
Position relative to.
public
mixed
POS_RELTO_MARGIN
= 'margin'
Tags
POS_RELTO_OMARGIN
public
mixed
POS_RELTO_OMARGIN
= 'outer-margin-area'
POS_RELTO_PAGE
public
mixed
POS_RELTO_PAGE
= 'page'
POS_RELTO_RMARGIN
public
mixed
POS_RELTO_RMARGIN
= 'right-margin-area'
POS_RELTO_TEXT
public
mixed
POS_RELTO_TEXT
= 'text'
POS_RELTO_TMARGIN
public
mixed
POS_RELTO_TMARGIN
= 'top-margin-area'
POS_RIGHT
public
mixed
POS_RIGHT
= 'right'
POS_TOP
public
mixed
POS_TOP
= 'top'
POSITION_ABSOLUTE
public
mixed
POSITION_ABSOLUTE
= self::POS_ABSOLUTE
POSITION_HORIZONTAL_CENTER
public
mixed
POSITION_HORIZONTAL_CENTER
= self::POS_CENTER
POSITION_HORIZONTAL_LEFT
public
mixed
POSITION_HORIZONTAL_LEFT
= self::POS_LEFT
POSITION_HORIZONTAL_RIGHT
public
mixed
POSITION_HORIZONTAL_RIGHT
= self::POS_RIGHT
POSITION_RELATIVE
public
mixed
POSITION_RELATIVE
= self::POS_RELATIVE
POSITION_RELATIVE_TO_BMARGIN
public
mixed
POSITION_RELATIVE_TO_BMARGIN
= self::POS_RELTO_BMARGIN
POSITION_RELATIVE_TO_CHAR
public
mixed
POSITION_RELATIVE_TO_CHAR
= self::POS_RELTO_CHAR
POSITION_RELATIVE_TO_COLUMN
public
mixed
POSITION_RELATIVE_TO_COLUMN
= self::POS_RELTO_COLUMN
POSITION_RELATIVE_TO_IMARGIN
public
mixed
POSITION_RELATIVE_TO_IMARGIN
= self::POS_RELTO_IMARGIN
POSITION_RELATIVE_TO_LINE
public
mixed
POSITION_RELATIVE_TO_LINE
= self::POS_RELTO_LINE
POSITION_RELATIVE_TO_LMARGIN
public
mixed
POSITION_RELATIVE_TO_LMARGIN
= self::POS_RELTO_LMARGIN
POSITION_RELATIVE_TO_MARGIN
public
mixed
POSITION_RELATIVE_TO_MARGIN
= self::POS_RELTO_MARGIN
POSITION_RELATIVE_TO_OMARGIN
public
mixed
POSITION_RELATIVE_TO_OMARGIN
= self::POS_RELTO_OMARGIN
POSITION_RELATIVE_TO_PAGE
public
mixed
POSITION_RELATIVE_TO_PAGE
= self::POS_RELTO_PAGE
POSITION_RELATIVE_TO_RMARGIN
public
mixed
POSITION_RELATIVE_TO_RMARGIN
= self::POS_RELTO_RMARGIN
POSITION_RELATIVE_TO_TEXT
public
mixed
POSITION_RELATIVE_TO_TEXT
= self::POS_RELTO_TEXT
POSITION_RELATIVE_TO_TMARGIN
public
mixed
POSITION_RELATIVE_TO_TMARGIN
= self::POS_RELTO_TMARGIN
POSITION_VERTICAL_BOTTOM
public
mixed
POSITION_VERTICAL_BOTTOM
= self::POS_BOTTOM
POSITION_VERTICAL_CENTER
public
mixed
POSITION_VERTICAL_CENTER
= self::POS_CENTER
POSITION_VERTICAL_INSIDE
public
mixed
POSITION_VERTICAL_INSIDE
= self::POS_INSIDE
POSITION_VERTICAL_OUTSIDE
public
mixed
POSITION_VERTICAL_OUTSIDE
= self::POS_OUTSIDE
POSITION_VERTICAL_TOP
public
mixed
POSITION_VERTICAL_TOP
= self::POS_TOP
UNIT_PT
Length unit.
public
mixed
UNIT_PT
= 'pt'
Tags
UNIT_PX
public
mixed
UNIT_PX
= 'px'
WRAP_BEHIND
public
mixed
WRAP_BEHIND
= 'behind'
WRAP_INFRONT
public
mixed
WRAP_INFRONT
= 'infront'
WRAP_INLINE
Wrap type.
public
mixed
WRAP_INLINE
= 'inline'
Tags
WRAP_SQUARE
public
mixed
WRAP_SQUARE
= 'square'
WRAP_THROUGH
public
mixed
WRAP_THROUGH
= 'through'
WRAP_TIGHT
public
mixed
WRAP_TIGHT
= 'tight'
WRAP_TOPBOTTOM
public
mixed
WRAP_TOPBOTTOM
= 'topAndBottom'
WRAPPING_STYLE_BEHIND
public
mixed
WRAPPING_STYLE_BEHIND
= self::WRAP_BEHIND
WRAPPING_STYLE_INFRONT
public
mixed
WRAPPING_STYLE_INFRONT
= self::WRAP_INFRONT
WRAPPING_STYLE_INLINE
Backward compatibility constants.
public
mixed
WRAPPING_STYLE_INLINE
= self::WRAP_INLINE
Tags
WRAPPING_STYLE_SQUARE
public
mixed
WRAPPING_STYLE_SQUARE
= self::WRAP_SQUARE
WRAPPING_STYLE_TIGHT
public
mixed
WRAPPING_STYLE_TIGHT
= self::WRAP_TIGHT
Properties
$aliases
Aliases.
protected
array<string|int, mixed>
$aliases
= []
$index
Index number in Style collection for named style.
protected
null|int
$index
This number starts from one and defined in Style::setStyleValues()
$styleName
Style name.
protected
string|null
$styleName
$alignment
private
string
$alignment
= ''
$beginArrow
Begin arrow.
private
string
$beginArrow
$color
Line color.
private
string
$color
$connectorType
connectorType.
private
string
$connectorType
= self::CONNECTOR_TYPE_STRAIGHT
$dash
Dash style.
private
string
$dash
$endArrow
End arrow.
private
string
$endArrow
$flip
flip Line.
private
bool
$flip
= false
$height
Height.
private
float|int
$height
$hPos
Horizontal position.
private
string
$hPos
$hPosRelTo
Horizontal position relative to.
private
string
$hPosRelTo
$isAuto
Is this an automatic style? (Used primarily in OpenDocument driver).
private
bool
$isAuto
= false
Tags
$left
Leftmost (horizontal) position.
private
float|int
$left
= 0
$pos
Position type: absolute|relative.
private
string
$pos
$position
Vertically raised or lowered text.
private
int
$position
Tags
$top
Topmost (vertical) position.
private
float|int
$top
= 0
$unit
Unit.
private
string
$unit
= 'pt'
$vPos
Vertical position.
private
string
$vPos
$vPosRelTo
Vertical position relative to.
private
string
$vPosRelTo
$weight
Line Weight.
private
int
$weight
$width
Width.
private
float|int
$width
$wrap
Wrap type.
private
string
$wrap
$wrapDistanceBottom
Bottom wrap distance.
private
float
$wrapDistanceBottom
$wrapDistanceLeft
Left wrap distance.
private
float
$wrapDistanceLeft
$wrapDistanceRight
Right wrap distance.
private
float
$wrapDistanceRight
$wrapDistanceTop
Top wrap distance.
private
float
$wrapDistanceTop
Methods
__construct()
Create new instance.
public
__construct() : mixed
getAlignment()
public
getAlignment() : string
Tags
Return values
stringgetBeginArrow()
Get beginArrow.
public
getBeginArrow() : string
Return values
stringgetChildStyleValue()
Return style value of child style object, e.g. `left` from `Indentation` child style of `Paragraph`.
public
getChildStyleValue(AbstractStyle $substyleObject, string $substyleProperty) : mixed
Parameters
- $substyleObject : AbstractStyle
- $substyleProperty : string
Tags
getColor()
Get color.
public
getColor() : string
Return values
stringgetConnectorType()
Get connectorType.
public
getConnectorType() : string
Return values
stringgetDash()
Get Dash.
public
getDash() : string
Return values
stringgetEndArrow()
Get endArrow.
public
getEndArrow() : string
Return values
stringgetHeight()
Get height.
public
getHeight() : float|int
Return values
float|intgetHPos()
Get horizontal position.
public
getHPos() : string
Return values
stringgetHPosRelTo()
Get horizontal position relative to.
public
getHPosRelTo() : string
Return values
stringgetIndex()
Get index number.
public
getIndex() : null|int
Return values
null|intgetLeft()
Get left.
public
getLeft() : float|int
Return values
float|intgetMarginLeft()
Get margin left.
public
getMarginLeft() : float|int
Return values
float|intgetMarginTop()
Get margin top.
public
getMarginTop() : float|int
Return values
float|intgetPos()
Get position type.
public
getPos() : string
Return values
stringgetPosHorizontal()
Get horizontal alignment.
public
getPosHorizontal() : string
Return values
stringgetPosHorizontalRel()
Get horizontal relation.
public
getPosHorizontalRel() : string
Return values
stringgetPosition()
Get position.
public
getPosition() : int
Return values
intgetPositioning()
Get positioning type.
public
getPositioning() : string
Return values
stringgetPosVertical()
Get vertical alignment.
public
getPosVertical() : string
Return values
stringgetPosVerticalRel()
Get vertical relation.
public
getPosVerticalRel() : string
Return values
stringgetStyleName()
Get style name.
public
getStyleName() : string|null
Return values
string|nullgetTop()
Get topmost position.
public
getTop() : float|int
Return values
float|intgetUnit()
Get unit.
public
getUnit() : string
Return values
stringgetVPos()
Get vertical position.
public
getVPos() : string
Return values
stringgetVPosRelTo()
Get vertical position relative to.
public
getVPosRelTo() : string
Return values
stringgetWeight()
Get weight.
public
getWeight() : int
Return values
intgetWidth()
Get width.
public
getWidth() : float|int
Return values
float|intgetWrap()
Get wrap type.
public
getWrap() : string
Return values
stringgetWrapDistanceBottom()
Get bottom distance from text wrap.
public
getWrapDistanceBottom() : float
Return values
floatgetWrapDistanceLeft()
Get left distance from text wrap.
public
getWrapDistanceLeft() : float
Return values
floatgetWrapDistanceRight()
Get right distance from text wrap.
public
getWrapDistanceRight() : float
Return values
floatgetWrapDistanceTop()
Get top distance from text wrap.
public
getWrapDistanceTop() : float
Return values
floatgetWrappingStyle()
Get wrapping style.
public
getWrappingStyle() : string
Return values
stringisAuto()
Get is automatic style flag.
public
isAuto() : bool
Return values
boolisFlip()
Get flip.
public
isFlip() : bool
Return values
boolsetAlignment()
public
setAlignment(string $value) : self
Parameters
- $value : string
Tags
Return values
selfsetAuto()
Set is automatic style flag.
public
setAuto([bool $value = true ]) : self
Parameters
- $value : bool = true
Return values
selfsetBeginArrow()
Set beginArrow.
public
setBeginArrow([string $value = null ]) : self
Parameters
- $value : string = null
Return values
selfsetColor()
Set color.
public
setColor([string $value = null ]) : self
Parameters
- $value : string = null
Return values
selfsetConnectorType()
Set connectorType.
public
setConnectorType([string $value = null ]) : self
Parameters
- $value : string = null
Return values
selfsetDash()
Set Dash.
public
setDash([string $value = null ]) : self
Parameters
- $value : string = null
Return values
selfsetEndArrow()
Set endArrow.
public
setEndArrow([string $value = null ]) : self
Parameters
- $value : string = null
Return values
selfsetFlip()
Set flip.
public
setFlip([bool $value = false ]) : self
Parameters
- $value : bool = false
Return values
selfsetHeight()
Set height.
public
setHeight([float|int $value = null ]) : self
Parameters
- $value : float|int = null
Return values
selfsetHPos()
Set horizontal position.
public
setHPos(string $value) : self
Parameters
- $value : string
Tags
Return values
selfsetHPosRelTo()
Set horizontal position relative to.
public
setHPosRelTo(string $value) : self
Parameters
- $value : string
Return values
selfsetIndex()
Set index number.
public
setIndex([null|int $value = null ]) : self
Parameters
- $value : null|int = null
Return values
selfsetLeft()
Set left.
public
setLeft([float|int $value = 0 ]) : self
Parameters
- $value : float|int = 0
Return values
selfsetMarginLeft()
Set margin left.
public
setMarginLeft([float|int $value = 0 ]) : self
Parameters
- $value : float|int = 0
Tags
Return values
selfsetMarginTop()
Set margin top.
public
setMarginTop([float|int $value = 0 ]) : self
Parameters
- $value : float|int = 0
Tags
Return values
selfsetPos()
Set position type.
public
setPos(string $value) : self
Parameters
- $value : string
Return values
selfsetPosHorizontal()
Set horizontal alignment.
public
setPosHorizontal(string $alignment) : self
Parameters
- $alignment : string
Return values
selfsetPosHorizontalRel()
Set horizontal relation.
public
setPosHorizontalRel(string $relto) : self
Parameters
- $relto : string
Return values
selfsetPosition()
Set position.
public
setPosition([int $value = null ]) : self
Parameters
- $value : int = null
Return values
selfsetPositioning()
Set positioning type.
public
setPositioning(string $positioning) : self
Parameters
- $positioning : string
Return values
selfsetPosVertical()
Set vertical alignment.
public
setPosVertical(string $alignment) : self
Parameters
- $alignment : string
Return values
selfsetPosVerticalRel()
Set vertical relation.
public
setPosVerticalRel(string $relto) : self
Parameters
- $relto : string
Return values
selfsetStyleByArray()
Set style by using associative array.
public
setStyleByArray([array<string|int, mixed> $values = [] ]) : self
Parameters
- $values : array<string|int, mixed> = []
Return values
selfsetStyleName()
Set style name.
public
setStyleName(string $value) : self
Parameters
- $value : string
Return values
selfsetStyleValue()
Set style value template method.
public
setStyleValue(string $key, array<string|int, mixed>|int|string $value) : self
Some child classes have their own specific overrides. Backward compability check for versions < 0.10.0 which use underscore prefix for their private properties. Check if the set method is exists. Throws an exception?
Parameters
- $key : string
- $value : array<string|int, mixed>|int|string
Return values
selfsetTop()
Set topmost position.
public
setTop([float|int $value = 0 ]) : self
Parameters
- $value : float|int = 0
Return values
selfsetUnit()
Set unit.
public
setUnit(string $value) : self
Parameters
- $value : string
Return values
selfsetVPos()
Set vertical position.
public
setVPos(string $value) : self
Parameters
- $value : string
Tags
Return values
selfsetVPosRelTo()
Set vertical position relative to.
public
setVPosRelTo(string $value) : self
Parameters
- $value : string
Return values
selfsetWeight()
Set weight.
public
setWeight([int $value = null ]) : self
Parameters
- $value : int = null
-
Weight in points
Return values
selfsetWidth()
Set width.
public
setWidth([float|int $value = null ]) : self
Parameters
- $value : float|int = null
Return values
selfsetWrap()
Set wrap type.
public
setWrap(string $value) : self
Parameters
- $value : string
Return values
selfsetWrapDistanceBottom()
Set bottom distance from text wrap.
public
setWrapDistanceBottom([float $value = null ]) : self
Parameters
- $value : float = null
Return values
selfsetWrapDistanceLeft()
Set left distance from text wrap.
public
setWrapDistanceLeft([float $value = null ]) : self
Parameters
- $value : float = null
Return values
selfsetWrapDistanceRight()
Set right distance from text wrap.
public
setWrapDistanceRight([float $value = null ]) : self
Parameters
- $value : float = null
Return values
selfsetWrapDistanceTop()
Set top distance from text wrap.
public
setWrapDistanceTop([int $value = null ]) : self
Parameters
- $value : int = null
Return values
selfsetWrappingStyle()
Set wrapping style.
public
setWrappingStyle(string $wrappingStyle) : self
Parameters
- $wrappingStyle : string
Return values
selfsetBoolVal()
Set bool value.
protected
setBoolVal(bool $value, bool $default) : bool
Parameters
- $value : bool
- $default : bool
Return values
boolsetEnumVal()
Set enum value.
protected
setEnumVal([mixed $value = null ][, array<string|int, mixed> $enum = [] ][, mixed $default = null ]) : mixed
Parameters
- $value : mixed = null
- $enum : array<string|int, mixed> = []
- $default : mixed = null
setFloatVal()
Set float value: Convert string that contains only numeric into float.
protected
setFloatVal(mixed $value[, null|float $default = null ]) : null|float
Parameters
- $value : mixed
- $default : null|float = null
Return values
null|floatsetIntVal()
Set integer value: Convert string that contains only numeric into integer.
protected
setIntVal(null|float|int|string $value[, null|int $default = null ]) : null|int
Parameters
- $value : null|float|int|string
- $default : null|int = null
Return values
null|intsetNonEmptyVal()
Set default for null and empty value.
protected
setNonEmptyVal(string|null $value, string $default) : string
Parameters
- $value : string|null
- $default : string
Return values
stringsetNumericVal()
Set numeric value.
protected
setNumericVal(mixed $value[, null|float|int $default = null ]) : null|float|int
Parameters
- $value : mixed
- $default : null|float|int = null
Return values
null|float|intsetObjectVal()
Set object value.
protected
setObjectVal(mixed $value, string $styleName, mixed &$style) : mixed
Parameters
- $value : mixed
- $styleName : string
- $style : mixed
setPairedVal()
Set $property value and set $pairProperty = false when $value = true.
protected
setPairedVal(bool &$property, bool &$pairProperty, bool $value) : self
Parameters
- $property : bool
- $pairProperty : bool
- $value : bool