Class: Google::Apis::SlidesV1::ParagraphMarker
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::ParagraphMarker
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_v1/representations.rb
Overview
A TextElement kind that represents the beginning of a new paragraph.
Instance Attribute Summary collapse
-
#bullet ⇒ Google::Apis::SlidesV1::Bullet
Describes the bullet of a paragraph.
-
#style ⇒ Google::Apis::SlidesV1::ParagraphStyle
Styles that apply to a whole paragraph.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParagraphMarker
constructor
A new instance of ParagraphMarker.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ParagraphMarker
Returns a new instance of ParagraphMarker.
2286 2287 2288 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2286 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bullet ⇒ Google::Apis::SlidesV1::Bullet
Describes the bullet of a paragraph.
Corresponds to the JSON property bullet
2272 2273 2274 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2272 def bullet @bullet end |
#style ⇒ 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.
Corresponds to the JSON property
style
2284 2285 2286 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2284 def style @style end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2291 2292 2293 2294 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2291 def update!(**args) @bullet = args[:bullet] if args.key?(:bullet) @style = args[:style] if args.key?(:style) end |