OpenPine C++ API
C++ wrapper for the OpenPine Pine Script VM
Loading...
Searching...
No Matches
openpine::graph::TableCell Class Reference

#include <table.hpp>

Public Member Functions

 TableCell (const ffi::TableCell *p)
std::string_view text () const
 Gets the cell text.
float width () const
 Gets the cell width.
float height () const
 Gets the cell height.
std::optional< uint32_t > textColor () const
 Gets the optional cell text color.
HorizontalAlign textHalign () const
 Gets the horizontal text alignment.
VerticalAlign textValign () const
 Gets the vertical text alignment.
uint32_t textSize () const
 Gets the text size.
std::optional< uint32_t > backgroundColor () const
 Gets the optional background color.
std::optional< std::string_view > tooltip () const
 Gets the optional tooltip.
FontFamily textFontFamily () const
 Gets the font family.
TextFormatting textFormatting () const
 Gets the text formatting (bold/italic).
uintptr_t colspan () const
 Gets the number of columns spanned.
uintptr_t rowspan () const
 Gets the number of rows spanned.

Detailed Description

Definition at line 24 of file table.hpp.

Constructor & Destructor Documentation

◆ TableCell()

openpine::graph::TableCell::TableCell ( const ffi::TableCell * p)
inline

Definition at line 29 of file table.hpp.

Member Function Documentation

◆ backgroundColor()

std::optional< uint32_t > openpine::graph::TableCell::backgroundColor ( ) const
inline

Gets the optional background color.

Definition at line 80 of file table.hpp.

◆ colspan()

uintptr_t openpine::graph::TableCell::colspan ( ) const
inline

Gets the number of columns spanned.

Definition at line 116 of file table.hpp.

◆ height()

float openpine::graph::TableCell::height ( ) const
inline

Gets the cell height.

Definition at line 48 of file table.hpp.

◆ rowspan()

uintptr_t openpine::graph::TableCell::rowspan ( ) const
inline

Gets the number of rows spanned.

Definition at line 121 of file table.hpp.

◆ text()

std::string_view openpine::graph::TableCell::text ( ) const
inline

Gets the cell text.

Definition at line 34 of file table.hpp.

References openpine::detail::refToView().

◆ textColor()

std::optional< uint32_t > openpine::graph::TableCell::textColor ( ) const
inline

Gets the optional cell text color.

Definition at line 53 of file table.hpp.

◆ textFontFamily()

FontFamily openpine::graph::TableCell::textFontFamily ( ) const
inline

Gets the font family.

Definition at line 104 of file table.hpp.

◆ textFormatting()

TextFormatting openpine::graph::TableCell::textFormatting ( ) const
inline

Gets the text formatting (bold/italic).

Definition at line 109 of file table.hpp.

◆ textHalign()

HorizontalAlign openpine::graph::TableCell::textHalign ( ) const
inline

Gets the horizontal text alignment.

Definition at line 65 of file table.hpp.

◆ textSize()

uint32_t openpine::graph::TableCell::textSize ( ) const
inline

Gets the text size.

Definition at line 75 of file table.hpp.

◆ textValign()

VerticalAlign openpine::graph::TableCell::textValign ( ) const
inline

Gets the vertical text alignment.

Definition at line 70 of file table.hpp.

◆ tooltip()

std::optional< std::string_view > openpine::graph::TableCell::tooltip ( ) const
inline

Gets the optional tooltip.

Definition at line 92 of file table.hpp.

References openpine::detail::refToView().

◆ width()

float openpine::graph::TableCell::width ( ) const
inline

Gets the cell width.

Definition at line 43 of file table.hpp.


The documentation for this class was generated from the following file: