ShapeEx Help File

ShapeEx Help File

Plugin Name:

ShapeEx

Current Version:

1.0.0.1

Licence:

Freeware

Author:

Dean Hall (AKA) RizlaUK

Web:

www.luadevils.com

E-mail:

rizlauk@luadevils.com

Requirements:

Requires Win2000 Or Above


Table of Contents

ShapeEx.SetStyle
ShapeEx.GetStyle
ShapeEx.SetRounded
ShapeEx.GetRounded
ShapeEx.SetAngle
ShapeEx.GetAngle
ShapeEx.SetOutlineColor
ShapeEx.GetOutlineColor
ShapeEx.SetOutlineWidth
ShapeEx.GetOutlineWidth
ShapeEx.SetFillColor
ShapeEx.GetFillColor
ShapeEx.SetPush
ShapeEx.GetPush
ShapeEx.SetPushDir
ShapeEx.GetPushDir
ShapeEx.SetRPNumSides
ShapeEx.GetRPNumSides
ShapeEx.SetRPEnableStar
ShapeEx.GetRPEnableStar
ShapeEx.SetRPAngle
ShapeEx.GetRPAngle

ShapeEx.SetStyle


ShapeEx.SetStyle ( 

(string) ObjectName,

(number) Style )

Description

Sets the shape style.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Style

(number) The style of shape to set.

CONSTANT

VALUE

DESCRIPTION

SHAPEEX_RECT

0

NA

SHAPEEX_ROUNDRECT

1

NA

SHAPEEX_ELLIPSE

2

NA

SHAPEEX_TRIANGLE

3

NA

SHAPEEX_PIE

4

NA

SHAPEEX_CHORD

5

NA

SHAPEEX_RHOMBUS

6

NA

SHAPEEX_PARALLELOGRAM

7

NA

SHAPEEX_TRAPEZIUM

8

NA

SHAPEEX_REGULARPOLYGON

9

NA

Returns

This action dose not return any value.


ShapeEx.GetStyle


(number) ShapeEx.GetStyle ( 

(string) ObjectName )

Description

Gets the shape style.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(number)


ShapeEx.SetRounded


ShapeEx.SetRounded ( 

(string) ObjectName,

(number) Width,

(number) Height )

Description

Sets the curve setting of a rounded rectangle..

Parameters

ObjectName

(string) The name of the ShapeEx object.

Width

(number) The width of the rounded area.

Height

(number) The height of the rounded area.

Returns

This action dose not return any value.


ShapeEx.GetRounded


(table) ShapeEx.GetRounded ( 

(string) ObjectName )

Description

Gets the curve setting of a rounded rectangle..

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(table)


ShapeEx.SetAngle


ShapeEx.SetAngle ( 

(string) ObjectName,

(number) Start,

(number) End )

Description

Sets the angle setting of a pie or chord.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Start

(number) The start angle (0-360).

End

(number) The end angle (0-360).

Returns

This action dose not return any value.


ShapeEx.GetAngle


(table) ShapeEx.GetAngle ( 

(string) ObjectName )

Description

Gets the angle setting of a pie or chord.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(table)


ShapeEx.SetOutlineColor


ShapeEx.SetOutlineColor ( 

(string) ObjectName,

(number) Color )

Description

Sets the outline (border) color.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Color

(number) The color of the outline.

Returns

This action dose not return any value.


ShapeEx.GetOutlineColor


(number) ShapeEx.GetOutlineColor ( 

(string) ObjectName )

Description

Gets the outline (border) color.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(number)


ShapeEx.SetOutlineWidth


ShapeEx.SetOutlineWidth ( 

(string) ObjectName,

(number) Width )

Description

Sets the outline (border) width.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Width

(number) The width of the outline.

Returns

This action dose not return any value.


ShapeEx.GetOutlineWidth


(number) ShapeEx.GetOutlineWidth ( 

(string) ObjectName )

Description

Gets the outline (border) width.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(number)


ShapeEx.SetFillColor


ShapeEx.SetFillColor ( 

(string) ObjectName,

(number) Color )

Description

Sets the fill color.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Color

(number) The color to fill the shape.

Returns

This action dose not return any value.


ShapeEx.GetFillColor


(number) ShapeEx.GetFillColor ( 

(string) ObjectName )

Description

Gets the fill color.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(number)


ShapeEx.SetPush


ShapeEx.SetPush ( 

(string) ObjectName,

(number) Push )

Description

Sets the push angle for parallelogram and trapezium shapes .

Parameters

ObjectName

(string) The name of the ShapeEx object.

Push

(number) The push ammount.

Returns

This action dose not return any value.


ShapeEx.GetPush


(number) ShapeEx.GetPush ( 

(string) ObjectName )

Description

Gets the push angle for parallelogram and trapezium shapes .

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(number)


ShapeEx.SetPushDir


ShapeEx.SetPushDir ( 

(string) ObjectName,

(number) PushDir )

Description

Sets the push direction for parallelogram and trapezium shapes .

Parameters

ObjectName

(string) The name of the ShapeEx object.

PushDir

(number) The push direction.

Returns

This action dose not return any value.


ShapeEx.GetPushDir


(number) ShapeEx.GetPushDir ( 

(string) ObjectName )

Description

Gets the push direction for parallelogram and trapezium shapes .

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(number)


ShapeEx.SetRPNumSides


ShapeEx.SetRPNumSides ( 

(string) ObjectName,

(number) Sides )

Description

Sets the number of sides for a regular polygon shape.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Sides

(number) The number of sides for the polygon.

Returns

This action dose not return any value.


ShapeEx.GetRPNumSides


(number) ShapeEx.GetRPNumSides ( 

(string) ObjectName )

Description

Gets the number of sides for a regular polygon shape.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(number)


ShapeEx.SetRPEnableStar


ShapeEx.SetRPEnableStar ( 

(string) ObjectName,

(boolean) Enable )

Description

Sets the value of the star format for a regular polygon shape.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Enable

(boolean) True to enable the star format.

Returns

This action dose not return any value.


ShapeEx.GetRPEnableStar


(boolean) ShapeEx.GetRPEnableStar ( 

(string) ObjectName )

Description

Gets the value of the star format for a regular polygon shape.

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(boolean)


ShapeEx.SetRPAngle


ShapeEx.SetRPAngle ( 

(string) ObjectName,

(number) Angle )

Description

Sets the angle of the regular polygon shape..

Parameters

ObjectName

(string) The name of the ShapeEx object.

Angle

(number) The angle for the shape (0-360)

Returns

This action dose not return any value.


ShapeEx.GetRPAngle


(number) ShapeEx.GetRPAngle ( 

(string) ObjectName )

Description

Gets the angle of the regular polygon shape..

Parameters

ObjectName

(string) The name of the ShapeEx object.

Returns

(number)




This File Was Generated With AMS ActionFile Editor