module Cryplot::DepthMixin(T)

Overview

mixin used to attach depth options to a type

Included Modules

Direct including types

Defined in:

plot/elems/depth.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 back : T #

Set the underlying plot element to be displayed on the back of all plot elements.


[View source]
def behind : T #

Set the underlying plot element to be displayed behind of all plot elements. In 2D plots, this method is identical to @ref front. In 3D plots, this method is applicable when in hidden mode.


[View source]
def depth_repr : String #

[View source]
def front : T #

Set the underlying plot element to be displayed on the front of all plot elements.


[View source]