class OoxmlParser::ShapeProperties
Class for working with Shape
Properties
Attributes
anchor_x[RW]
anchor_y[RW]
fill_color[RW]
margins[RW]
opacity[RW]
position[RW]
shadow[RW]
size[RW]
stroke[RW]
z_index[RW]
Public Class Methods
new(position = nil, margins = ShapeMargins.new, size = ShapeSize.new, z_index = nil, stroke = Stroke.new)
click to toggle source
# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_paragraph_run/shape/shape_properties.rb, line 11 def initialize(position = nil, margins = ShapeMargins.new, size = ShapeSize.new, z_index = nil, stroke = Stroke.new) @position = position @margins = margins @size = size @z_index = z_index @stroke = stroke end