Class: Layout::Image
Relationships | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Entity
|
|
Instance Chain:
self,
Entity
|
|
Inherits: |
Layout::Entity
|
Overview
A raster image entity.
Class Method Summary
-
.new(path, bounds) ⇒ Layout::Image
constructor
The
#initialize
method creates a newImage
from a given image file.
Instance Attribute Summary
-
#clip_mask ⇒ Layout::Entity
rw
The #clip_mask method returns the clip mask of the
Image
, ornil
if it does not have a clip mask. -
#clip_mask=(clip_mask)
rw
The #clip_mask= method sets the clip mask of the
Image
.
Entity
- Inherited
#locked= | The |
#locked? | The |
#on_shared_layer? | |
#style | |
#style= | |
#untransformed_bounds | The |
#untransformed_bounds= | The |
Instance Method Summary
Entity
- Inherited
#== | The |
#bounds | The |
#document | |
#drawing_bounds | The |
#group | |
#layer_instance | The |
#move_to_group | |
#move_to_layer | |
#page | |
#transform! | The |
#transformation | The |
Constructor Details
.new(path, bounds) ⇒ Image
The #initialize
method creates a new Image
from a given image file.
Instance Attribute Details
#clip_mask ⇒ Layout::Entity (rw)
The #clip_mask
method returns the clip mask of the Image
, or nil
if it does not have a clip mask.