struct Markd::Pdf::PageMargins

Overview

Page margins in millimeters. The gutter is the binding-edge margin: applied on the left for odd (recto) pages and on the right for even (verso) pages. A negative gutter disables it.

Defined in:

pdf.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(top : Float64, right : Float64, bottom : Float64, left : Float64, gutter : Float64 = -1.0) #

[View source]

Instance Method Detail

def bottom : Float64 #

[View source]
def gutter : Float64 #

[View source]
def left : Float64 #

[View source]
def right : Float64 #

[View source]
def top : Float64 #

[View source]