struct

Draw::ImageScaling

Inherits Struct < Value < Object

ImageScaling style attributes used to display the image

Constructors

new(h_align : Draw::HAlign, v_align : Draw::VAlign, width : Float64, height : Float64, scaling_policy : Draw::ScalingPolicy)
Source

Instance methods

h_align

Horizontal Alignment of the image

Source
height

Height used by scaling policy

Source
scaling_policy

Defines the scaling policy to applied to the image

Source
v_align

Vertical Alignment of the image

Source
width

Width used by scaling policy

Source