class Cryplot::Border

Overview

Used to specific options for plot border

Included Modules

Defined in:

plot/elems/border.cr

Constructors

Instance Method Summary

Instance methods inherited from module Cryplot::DepthMixin(Cryplot::Border)

back : T back, behind : T behind, depth_repr : String depth_repr, front : T front

Instance methods inherited from module Cryplot::BaseMixin(Cryplot::Border)

derived : T derived, repr : String repr, to_s(io : IO) : Nil to_s

Instance methods inherited from module Cryplot::LineMixin(Cryplot::Border)

dash_type(val : Int32) dash_type, line_color(color : String) line_color, line_repr : String line_repr, line_style(val : Int32) line_style, line_type(val : Int32) line_type, line_width(val : Int32) line_width

Instance methods inherited from module Cryplot::BaseMixin(Cryplot::Border)

derived : T derived, repr : String repr, to_s(io : IO) : Nil to_s

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def back_vertical #

Activate the back vertical border edge in a 3d perspective.


[View source]
def bottom #

Activate the bottom border edge on the xy plane for a 2d plot.


[View source]
def bottom_left_back #

Activate the border edge on the bottom xy plane going from the left corder to back corner in a 3d perspective.


[View source]
def bottom_left_front #

Activate the border edge on the bottom xy plane going from the left corner to front corner in a 3d perspective.


[View source]
def bottom_right_back #

Activate the border edge on the bottom xy plane going from the right corder to back corner in a 3d perspective.


[View source]
def bottom_right_front #

Activate the border edge on the bottom xy plane going from the right corner to front corner in a 3d perspective.


[View source]
def clear #

Remove all border edges from a 2d or 3d plot.


[View source]
def front_vertical #

Activate the front vertical border edge in a 3d perspective.


[View source]
def left #

Activate the left border edge on the xy plane for a 2d plot.


[View source]
def left_vertical #

Activate the left vertical border edge in a 3d perspective.


[View source]
def none #

Set all border edges to inactive. Methods none and clear have identical effect.


[View source]
def polar #

Set the border for polar plot.


[View source]
def repr : String #
Description copied from module Cryplot::BaseMixin(Cryplot::Border)

returns a string representation of object of some class


[View source]
def right #

Activate the right border edge on the xy plane for a 2d plot.


[View source]
def right_vertical #

Activate the right vertical border edge in a 3d perspective.


[View source]
def to_s(io : IO) : Nil #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def top #

Activate the top border edge on the xy plane for a 2d plot.


[View source]
def top_left_back #

Activate the border edge on the top xy plane going from the left corner to back corner in a 3d perspective.


[View source]
def top_left_front #

Activate the border edge on the top xy plane going from the left corner to front corner in a 3d perspective.


[View source]
def top_right_back #

Activate the border edge on the top xy plane going from the right corder to back corner in a 3d perspective.


[View source]
def top_right_front #

Activate the border edge on the top xy plane going from the right corder to front corner in a 3d perspective.


[View source]