alignment = $alignment; } /** * @return self::ALIGNMENT_* */ public function getAlignment() { return $this->alignment; } /** * The text direction of this paragraph. If unset, the value defaults to * LEFT_TO_RIGHT since text direction is not inherited. * * Accepted values: TEXT_DIRECTION_UNSPECIFIED, LEFT_TO_RIGHT, RIGHT_TO_LEFT * * @param self::DIRECTION_* $direction */ public function setDirection($direction) { $this->direction = $direction; } /** * @return self::DIRECTION_* */ public function getDirection() { return $this->direction; } /** * The amount indentation for the paragraph on the side that corresponds to * the end of the text, based on the current text direction. If unset, the * value is inherited from the parent. * * @param Dimension $indentEnd */ public function setIndentEnd(Dimension $indentEnd) { $this->indentEnd = $indentEnd; } /** * @return Dimension */ public function getIndentEnd() { return $this->indentEnd; } /** * The amount of indentation for the start of the first line of the paragraph. * If unset, the value is inherited from the parent. * * @param Dimension $indentFirstLine */ public function setIndentFirstLine(Dimension $indentFirstLine) { $this->indentFirstLine = $indentFirstLine; } /** * @return Dimension */ public function getIndentFirstLine() { return $this->indentFirstLine; } /** * The amount indentation for the paragraph on the side that corresponds to * the start of the text, based on the current text direction. If unset, the * value is inherited from the parent. * * @param Dimension $indentStart */ public function setIndentStart(Dimension $indentStart) { $this->indentStart = $indentStart; } /** * @return Dimension */ public function getIndentStart() { return $this->indentStart; } /** * The amount of space between lines, as a percentage of normal, where normal * is represented as 100.0. If unset, the value is inherited from the parent. * * @param float $lineSpacing */ public function setLineSpacing($lineSpacing) { $this->lineSpacing = $lineSpacing; } /** * @return float */ public function getLineSpacing() { return $this->lineSpacing; } /** * The amount of extra space above the paragraph. If unset, the value is * inherited from the parent. * * @param Dimension $spaceAbove */ public function setSpaceAbove(Dimension $spaceAbove) { $this->spaceAbove = $spaceAbove; } /** * @return Dimension */ public function getSpaceAbove() { return $this->spaceAbove; } /** * The amount of extra space below the paragraph. If unset, the value is * inherited from the parent. * * @param Dimension $spaceBelow */ public function setSpaceBelow(Dimension $spaceBelow) { $this->spaceBelow = $spaceBelow; } /** * @return Dimension */ public function getSpaceBelow() { return $this->spaceBelow; } /** * The spacing mode for the paragraph. * * Accepted values: SPACING_MODE_UNSPECIFIED, NEVER_COLLAPSE, COLLAPSE_LISTS * * @param self::SPACING_MODE_* $spacingMode */ public function setSpacingMode($spacingMode) { $this->spacingMode = $spacingMode; } /** * @return self::SPACING_MODE_* */ public function getSpacingMode() { return $this->spacingMode; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ParagraphStyle::class, 'Google_Service_Slides_ParagraphStyle');