class Google::Apis::DocsV1::ParagraphBorder
A border around a paragraph.
Attributes
color[RW]
A color that can either be fully opaque or fully transparent. Corresponds to the JSON property `color` @return [Google::Apis::DocsV1::OptionalColor]
dash_style[RW]
The dash style of the border. Corresponds to the JSON property `dashStyle` @return [String]
padding[RW]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `padding` @return [Google::Apis::DocsV1::Dimension]
width[RW]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `width` @return [Google::Apis::DocsV1::Dimension]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 3104 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 3109 def update!(**args) @color = args[:color] if args.key?(:color) @dash_style = args[:dash_style] if args.key?(:dash_style) @padding = args[:padding] if args.key?(:padding) @width = args[:width] if args.key?(:width) end