class

Opal::UI::ImageView

Inherits Opal::UI::Element < Opal::UI::Themable < Reference < Object

Constructors

new(image_path : String, protocol : Image::Protocol = Image::Protocol::Auto)
Source

Instance methods

image_path
Source
image_path=(image_path : String)
Source
preferred_size(available_w : Int32, available_h : Int32) : Tuple(Int32, Int32)
Source
protocol
Source
protocol=(protocol : Image::Protocol)
Source
render(buffer : Buffer, x : Int32, y : Int32, width : Int32, height : Int32) : Nil
Source