# FlatRendering

open class FlatRendering : AbstractRendering

Paint leaf nodes according to their color and with a border around them.

#### Parameters

the type of nodes

#### Inheritors

FlatNoBorderRendering

## Constructors

FlatRendering
Link copied to clipboard
constructor()

## Properties

drawBorder
Link copied to clipboard
var drawBorder: Boolean

## Functions

getNestingBackground
Link copied to clipboard
open override fun <N, Row, Column> getNestingBackground(node: N, model: TreeMapModel<N, Row, Column>): MkColor?
getOrder
Link copied to clipboard
open override fun <N, Row, Column> getOrder(view: TreeMapView<N, Row, Column>, root: N, pass: Int): Iterable<N>

{@inheritDoc}

getParentOrder
Link copied to clipboard
open override fun <N, Row, Column> getParentOrder(view: TreeMapView<N, Row, Column>, root: N, pass: Int): Iterable<N>
getPasses
Link copied to clipboard
open override fun <N, Row, Column> getPasses(model: TreeMapModel<N, Row, Column>): Int

{@inheritDoc}

getRenderedShape
Link copied to clipboard
open override fun <N, Row, Column> getRenderedShape(view: TreeMapView<N, Row, Column>, model: TreeMapModel<N, Row, Column>, node: N, shape: Shape): Shape
paintBackground
Link copied to clipboard
open override fun <N, Row, Column> paintBackground(g: TGraphics, view: TreeMapView<N, Row, Column>, node: N, pass: Int, passes: Int, bounds: Rectangle, shape: Shape)

{@inheritDoc}

paintBorder
Link copied to clipboard
open override fun <N, Row, Column> paintBorder(g2: TGraphics, view: TreeMapView<N, Row, Column>, node: N, pass: Int, bounds: Rectangle, shape: Shape)

{@inheritDoc}

paintLabel
Link copied to clipboard
open override fun <N, Row, Column> paintLabel(g: TGraphics, view: TreeMapView<N, Row, Column>, node: N, pass: Int, passes: Int, bounds: Rectangle, shape: Shape)

{@inheritDoc}

paintNode
Link copied to clipboard
open override fun <N, Row, Column> paintNode(g: TGraphics, view: TreeMapView<N, Row, Column>, node: N, pass: Int, bounds: Rectangle, shape: Shape): Boolean

{@inheritDoc}

paintParent
Link copied to clipboard
open override fun <N, Row, Column> paintParent(g: TGraphics, view: TreeMapView<N, Row, Column>, node: N, pass: Int, bounds: Rectangle, shape: Shape)

{@inheritDoc}

paintParentBorder
Link copied to clipboard
open override fun <N, Row, Column> paintParentBorder(g: TGraphics, node: N, bounds: Rectangle, shape: Shape, model: TreeMapModel<N, Row, Column>)
paintParentHighlight
Link copied to clipboard
open override fun <N, Row, Column> paintParentHighlight(g2: TGraphics, view: TreeMapView<N, Row, Column>, node: N, pass: Int, bounds: Rectangle, shape: Shape?)

{@inheritDoc}

toString
Link copied to clipboard
open override fun toString(): String