Sha256: c082ba7fb0ae6d5dc554a69fc3244c7976138326e0c99755f6f671fab63a2af0

Contents?: true

Size: 644 Bytes

Versions: 2

Compression:

Stored size: 644 Bytes

Contents

module GroupDocs
  class Document::Rectangle < Api::Entity

    # @attr [Float] X
    attr_accessor :X
    # @attr [Float] Y
    attr_accessor :Y
    # @attr [Float] Width
    attr_accessor :Width
    # @attr [Float] Height
    attr_accessor :Height

    # Human-readable accessors
    alias_method :x,      :X
    alias_method :x=,     :X=
    alias_method :y,      :Y
    alias_method :y=,     :Y=
    alias_method :w,      :Width
    alias_method :w=,     :Width=
    alias_method :width,  :w
    alias_method :h,      :Height
    alias_method :h=,     :Height=
    alias_method :height, :Height

  end # Document::Rectangle
end # GroupDocs

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
groupdocs-1.1.0 lib/groupdocs/document/rectangle.rb
groupdocs-1.0.0 lib/groupdocs/document/rectangle.rb