Class: Sketchup::Texture

Inherits:
Entity show all
Defined in:
lib/texture.rb

Overview

Since:

  • SketchUp 6

Instance Method Summary collapse

Methods inherited from Entity

#add_observer, #attribute_dictionaries, #attribute_dictionary, #delete_attribute, #deleted?, #entityID, #get_attribute, #model, #parent, #remove_observer, #set_attribute, #to_s, #typename

Instance Method Details

#average_colorObject

Since:

  • SketchUp 6



6
7
# File 'lib/texture.rb', line 6

def average_color
end

#filenameObject

Since:

  • SketchUp 6



8
9
# File 'lib/texture.rb', line 8

def filename
end

#heightObject

Since:

  • SketchUp 6



10
11
# File 'lib/texture.rb', line 10

def height
end

#image_heightObject

Since:

  • SketchUp 6



12
13
# File 'lib/texture.rb', line 12

def image_height
end

#image_widthObject

Since:

  • SketchUp 6



14
15
# File 'lib/texture.rb', line 14

def image_width
end

#size=Object

Since:

  • SketchUp 6



16
17
# File 'lib/texture.rb', line 16

def size=
end

#valid?Boolean

Returns:

  • (Boolean)

Since:

  • SketchUp 6



18
19
# File 'lib/texture.rb', line 18

def valid?
end

#widthObject

Since:

  • SketchUp 6



20
21
# File 'lib/texture.rb', line 20

def width
end

#write(filename, colorize = false) ⇒ Object

Returns true or false.

Parameters:

Returns:

  • true or false

Since:

  • SketchUp 2016



26
27
# File 'lib/texture.rb', line 26

def write(filename, colorize = false)
end