module Cryplot::OffsetMixin(T)

Overview

mixin used to attach offset options to a type

Included Modules

Direct including types

Defined in:

plot/elems/offset.cr

Instance Method Summary

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

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

Instance Method Detail

def offset_repr #

[View source]
def shift_along_graph_x(val : Number) #

Shift the underlying plot element along the x direction within the graph coordinate system.


[View source]
def shift_along_graph_y(val : Number) #

Shift the underlying plot element along the y direction within the graph coordinate system.


[View source]
def shift_along_screen_x(val : Number) #

Shift the underlying plot element along the x direction within the screen coordinate system.


[View source]
def shift_along_screen_y(val : Number) #

Shift the underlying plot element along the y direction within the screen coordinate system.


[View source]
def shift_along_x(val : Number) #

Shift the underlying plot element along the x direction by given number of characters (can be fraction).


[View source]
def shift_along_y(val : Number) #

Shift the underlying plot element along the y direction by given number of characters (can be fraction).


[View source]