Entry

class Entry(val bodyBottomY: Float, val bodyTopY: Float, val bottomWickY: Float, val topWickY: Float) : CartesianLayerDrawingModel.Entry

Houses positional information for a CandlestickCartesianLayer’s candle. Each position is stored as a distance from the bottom of the CandlestickCartesianLayer. The distances are expressed as fractions of the CandlestickCartesianLayer’s height.

Constructors

Link copied to clipboard
constructor(bodyBottomY: Float, bodyTopY: Float, bottomWickY: Float, topWickY: Float)

Properties

Link copied to clipboard

the position of the body’s bottom edge.

Link copied to clipboard

the position of the body’s top edge.

Link copied to clipboard

the position of the bottom wick’s bottom edge.

Link copied to clipboard

the position of the top wick’s top edge.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Returns an intermediate Entry implementation between this one and from. fraction is the balance between from and this Entry implementation, with 0 corresponding to from, and 1 corresponding to this Entry implementation. The returned object should be an instance of the Entry implementation to which this function belongs.