Sha256: bc17cb9f5ac1869dca031cf6623bdb8f4ea8c3b519af5680dcf6dbc742e8d2d6
Contents?: true
Size: 635 Bytes
Versions: 49
Compression:
Stored size: 635 Bytes
Contents
# frozen_string_literal: true require_relative 'shape_properties/shape_margins' require_relative 'shape_properties/shape_size' require_relative 'shape_properties/stroke' module OoxmlParser # Class for working with Shape Properties class ShapeProperties attr_accessor :fill_color, :anchor_x, :anchor_y, :shadow, :margins, :size, :opacity, :position, :z_index, :stroke 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 end end
Version data entries
49 entries across 49 versions & 1 rubygems