n class='const'>Viewport</span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Kleya::Viewport#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>width:</span> <span class='int'>1200</span><span class='comma'>,</span> <span class='label'>height:</span> <span class='int'>675</span><span class='rparen'>)</span> <span class='comment'># =&gt; #&lt;Viewport @width=1200 @height=675&gt