class PDF::Core::Graphics

Defined in:

pdf/core/graphics.cr

Constructors

Instance Method Summary

Instance methods inherited from class PDF::Core::Primitives::Stream

to_s(indent : Int32) : String to_s

Constructor methods inherited from class PDF::Core::Primitives::Stream

new(content : String) new

Instance methods inherited from class PDF::Core::Primitives::Object

byte_offset : Int64 | Nil byte_offset, byte_offset=(byte_offset : Int64 | Nil) byte_offset=, generation : Int32 generation, generation=(generation : Int32) generation=, indirect? : Bool indirect?, number : Int32 | Nil number, number=(number : Int32 | Nil) number=, reference : Reference reference, to_s(indent : Int32) : String
to_s : String
to_s
, xref : String xref

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def bezier(x1 : Float64, y1 : Float64, x2 : Float64, y2 : Float64, x3 : Coordinate, y3 : Coordinate) #

[View source]
def circle(x : Coordinate, y : Coordinate, radius : Coordinate) #

[View source]
def close_and_stroke_path #

[View source]
def close_path #

[View source]
def fill_path #

[View source]
def line(x : Coordinate, y : Coordinate) #

[View source]
def path(x : Coordinate, y : Coordinate) #

[View source]
def rectangle(x : Coordinate, y : Coordinate, width : Coordinate, height : Coordinate) #

[View source]
def stroke_path #

[View source]
def to_s(indent : Int32) : String #

[View source]