Class shardimage\shardimagephp\factories\Text
Inheritance | shardimage\shardimagephp\factories\Text |
---|
Public Methods
Constants
Method Details
Magic method for string casting.
public string __toString ( ) |
Sets the text alignment.
public \self align ( $align ) | ||
$align | string | Text alignment.
|
Turns on base64 encoding for the text.
public \self base64 ( ) |
Creates a new Text object.
public static \self create ( $text ) | ||
$text | string | Text |
Sets the text decoration.
public \self decoration ( $decoration ) | ||
$decoration | string | Text decoration
|
Sets the font family.
public \self font ( $font ) | ||
$font | string | Font family. |
Sets the letter spacing.
public \self letterSpacing ( $letterSpacing ) | ||
$letterSpacing | integer | Letter spacing in pixels |
Sets the line spacing.
public \shardimage\shardimagephp\factories\type lineSpacing ( $lineSpacing ) | ||
$lineSpacing | integer | Line spacing in pixels |
Sets the font size.
public \self size ( $size ) | ||
$size | integer | Font size in pixels |
Sets the stroke color.
public \self strokeColor ( $color ) | ||
$color | string | Color in CSS format |
Sets the stroke width.
public \self strokeWidth ( $width ) | ||
$width | integer | Width in pixels |
Sets the text style.
public \self style ( $style ) | ||
$style | string | Text style
|
Sets the font weight.
public \self weight ( $weight ) | ||
$weight | string | Font weight
|
Turns on text wrapping.
public \self wrap ( ) |