class Google::Apis::SlidesV1::ParagraphStyle
Styles that apply to a whole paragraph. If this text is contained in a shape with a parent placeholder, then these paragraph styles may be inherited from the parent. Which paragraph styles are inherited depend on the nesting level of lists: * A paragraph not in a list will inherit its paragraph style from the paragraph at the 0 nesting level of the list inside the parent placeholder.
-
A paragraph in a list will inherit its paragraph style from the paragraph
at its corresponding nesting level of the list inside the parent placeholder. Inherited paragraph styles are represented as unset fields in this message.
Attributes
The text alignment for this paragraph. Corresponds to the JSON property `alignment` @return [String]
The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since text direction is not inherited. Corresponds to the JSON property `direction` @return [String]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `indentEnd` @return [Google::Apis::SlidesV1::Dimension]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `indentFirstLine` @return [Google::Apis::SlidesV1::Dimension]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `indentStart` @return [Google::Apis::SlidesV1::Dimension]
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. Corresponds to the JSON property `lineSpacing` @return [Float]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `spaceAbove` @return [Google::Apis::SlidesV1::Dimension]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `spaceBelow` @return [Google::Apis::SlidesV1::Dimension]
The spacing mode for the paragraph. Corresponds to the JSON property `spacingMode` @return [String]
Public Class Methods
# File lib/google/apis/slides_v1/classes.rb, line 2345 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/slides_v1/classes.rb, line 2350 def update!(**args) @alignment = args[:alignment] if args.key?(:alignment) @direction = args[:direction] if args.key?(:direction) @indent_end = args[:indent_end] if args.key?(:indent_end) @indent_first_line = args[:indent_first_line] if args.key?(:indent_first_line) @indent_start = args[:indent_start] if args.key?(:indent_start) @line_spacing = args[:line_spacing] if args.key?(:line_spacing) @space_above = args[:space_above] if args.key?(:space_above) @space_below = args[:space_below] if args.key?(:space_below) @spacing_mode = args[:spacing_mode] if args.key?(:spacing_mode) end