Border

Namespace: PP

Inheritance hierarchy

Object

Thickness

Border

Description

The Border class is a base class of border.

Syntax

PP.initClass(PP.Border, PP.Thickness, "PP.Border");

Constructor

  Constructor name Brief description
Border The Border constructor creates an instance of the Border class.

Properties

  Property name Brief description
BottomColor The BottomColor property sets and returns bottom border color.

BottomStyle

The BottomStyle property sets and returns bottom border render style.

Color

The Color property sets and returns border color.

Enabled

The Enabled property determines whether the border is shown.

LeftBottomRadius

The LeftBottomRadius property sets and returns radius of left bottom border angle rounding.

LeftColor

The LeftColor property sets and returns left border color.

LeftStyle

The LeftStyle property sets and returns left border render style.

LeftTopRadius

The LeftTopRadius property sets and returns radius of top bottom border angle rounding.

Radius

The Radius property sets and returns radius of border angles rounding.

RadiusEnabled

The RadiusEnabled property sets and returns whether rounded border is active.

RightBottomRadius

The RightBottomRadius property sets and returns radius of right bottom border angle rounding.

RightColor

The RightColor property sets and returns right border color.

RightStyle

The RightStyle property sets and returns right border render style.

RightTopRadius

The RightTopRadius property sets and returns radius of top right border angle rounding.

Style

The Style property sets and returns border render style.

TopColor

The TopColor property sets and returns top border color.

TopStyle

The TopStyle property sets and returns top border render style.

Methods

  Method name Brief description
setDefault The setDefault method sets vales of default border parameters.
toSVGFormat The toSVGFormat method determines border settings for the specified SVG object.

Properties inherited from the Thickness class

  Property name Brief description
Bottom The Bottom property sets the thickness of the bottom border.
Left The Left property sets thickness of the left border.
Right The Right property sets thickness of the right border.
Top The Top property sets thickness of the top border.
Width The Width property sets thickness of all borders.

Methods inherited from the Thickness class

  Method name Brief description
toCSSFormat The toCSSFormat method returns the string in the CSS format with indent settings.

Properties inherited from the Object class

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets the component parameters.

Methods inherited from the Object class

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

PP