class Google::Apis::SlidesV1::TextElement

A TextElement describes the content of a range of indices in the text content of a Shape or TableCell.

Attributes

auto_text[RW]

A TextElement kind that represents auto text. Corresponds to the JSON property `autoText` @return [Google::Apis::SlidesV1::AutoText]

end_index[RW]

The zero-based end index of this text element, exclusive, in Unicode code units. Corresponds to the JSON property `endIndex` @return [Fixnum]

paragraph_marker[RW]

A TextElement kind that represents the beginning of a new paragraph. Corresponds to the JSON property `paragraphMarker` @return [Google::Apis::SlidesV1::ParagraphMarker]

start_index[RW]

The zero-based start index of this text element, in Unicode code units. Corresponds to the JSON property `startIndex` @return [Fixnum]

text_run[RW]

A TextElement kind that represents a run of text that all has the same styling. Corresponds to the JSON property `textRun` @return [Google::Apis::SlidesV1::TextRun]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 4125
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/slides_v1/classes.rb, line 4130
def update!(**args)
  @auto_text = args[:auto_text] if args.key?(:auto_text)
  @end_index = args[:end_index] if args.key?(:end_index)
  @paragraph_marker = args[:paragraph_marker] if args.key?(:paragraph_marker)
  @start_index = args[:start_index] if args.key?(:start_index)
  @text_run = args[:text_run] if args.key?(:text_run)
end