Sha256: 06bbeec89316b9c6f20279a7d8c5ebf2d55a583912e1754ae017f4921c0913b2

Contents?: true

Size: 772 Bytes

Versions: 2

Compression:

Stored size: 772 Bytes

Contents

class Gliffynator::Activation < Hash
  def self.id_usage

  end

  def self.create(id, x, y, width=10, height=100)
    {
      x: x,
      y: y,
      rotation: 0,
      id: id,
      uid: "com.gliffy.shape.uml.uml_v1.default.activation",
      width: width,
      height: height,
      lockAspectRatio: false,
      lockShape: false,
      order: id,
      graphic: {
        type: "Shape",
        Shape: {
          tid: "com.gliffy.stencil.rectangle.basic_v1",
          strokeWidth: 1,
          strokeColor: "#000000",
          fillColor: "#FFFFFF",
          gradient: false,
          dropShadow: false,
          state: 0,
          shadowX: 0,
          shadowY: 0,
          opacity: 1
        }
      },
      children: nil,
      linkMap: []
    }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gliffynator-0.0.4 lib/gliffynator/activation.rb
gliffynator-0.0.3 lib/gliffynator/activation.rb