Class: Layout::Image
- Defined in:
- lib/sketchup-api-stubs/stubs/Layout/Image.rb
Overview
A raster image entity.
Instance Method Summary collapse
-
#clip_mask ⇒ Layout::Entity
The #clip_mask method returns the clip mask of the Image, or
nil
if it does not have a clip mask. -
#clip_mask=(clip_mask) ⇒ Object
The #clip_mask= method sets the clip mask of the Image.
-
#initialize(path, bounds) ⇒ Layout::Image
constructor
The #initialize method creates a new Image from a given image file.
Methods inherited from Entity
#==, #bounds, #document, #drawing_bounds, #group, #layer_instance, #locked=, #locked?, #move_to_group, #move_to_layer, #on_shared_layer?, #page, #style, #style=, #transform!, #transformation, #untransformed_bounds, #untransformed_bounds=
Constructor Details
#initialize(path, bounds) ⇒ Layout::Image
The #initialize method creates a new Layout::Image from a given image file.
83 84 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Image.rb', line 83 def initialize(path, bounds) end |
Instance Method Details
#clip_mask ⇒ Layout::Entity
The #clip_mask method returns the clip mask of the Layout::Image, or nil
if it does not have a clip mask.
32 33 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Image.rb', line 32 def clip_mask end |
#clip_mask=(clip_mask) ⇒ Object
The #clip_mask= method sets the clip mask of the Layout::Image.
59 60 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Image.rb', line 59 def clip_mask=(clip_mask) end |