Class: Rough::OpSet

Inherits:
Struct
  • Object
show all
Defined in:
lib/rough/op.rb

Overview

A group of Ops forming a stroke or fill. type: :path, :fillPath, or :fillSketch

Instance Attribute Summary collapse

Instance Attribute Details

#opsObject

Returns the value of attribute ops

Returns:

  • (Object)

    the current value of ops



9
10
11
# File 'lib/rough/op.rb', line 9

def ops
  @ops
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



9
10
11
# File 'lib/rough/op.rb', line 9

def path
  @path
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



9
10
11
# File 'lib/rough/op.rb', line 9

def size
  @size
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



9
10
11
# File 'lib/rough/op.rb', line 9

def type
  @type
end