My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
h2_work_with_borders  
Swixml2 work with border
Updated Sep 28, 2012 by bartolom...@gmail.com

Description

Below we describe the how to use the various borders available in swixml

EmptyBorder

Syntax

EmptyBorder[(top,left,bottom,right)]

Example

border="EmptyBorder"
border="EmptyBorder(2,2,5,5)"

TitledBorder

Syntax

TitledBorder(title[,titleJustification[,titlePosition[,font]]])

Example

border="TitledBorder(Simple)"
border="TitledBorder(Simple,CENTER)"
border="TitledBorder(Simple,RIGHT)"
border="TitledBorder(Simple,CENTER,BOTTOM)"
border="TitledBorder(Simple,CENTER,BOTTOM,Arial-BOLD-10)"

LineBorder

Syntax

LineBorder[(color[,thickness])]

Example

border="LineBorder"
border="LineBorder(red)"
border="LineBorder(green,3)"

EtchedBorder

Syntax

EtchedBorder[()]

Example

border="EtchedBorder"

LoweredBevelBorder

Syntax

LoweredBevelBorder[()]

Example

border="LoweredBevelBorder"

RaisedBevelBorder

Syntax

RaisedBevelBorder[()]

Example

border="RaisedBevelBorder"

CompoundBorder

Syntax

CompoundBorder(border1, border2)

Example

border="CompoundBorder(TitledBorder(Note), EmptyBorder(4,4,2,2))"
Powered by Google Project Hosting