Introduction

 

ObjectArcAdd Method images/cons0001.png


 

Adds an arc shape to the view.

 

Syntax

ObjectNumber = FlpGrf.ObjectArcAdd( Type As Short, centerX As Double, centerY As Double, radiusHorz As Double, radiusVert As Double, angleStart As Float, angleEnd As Float)

 

The ObjectArcAdd Method has these parts:

Part

Description

FlpGrf

An object expression that evaluates the Flipper Graph ASP object.

type

Type of shape to add (see below).

centerX

The x position of the arc's center point.

centerY

The y position of the arc's center point

radiusHorz

The size of the radius in the horizontal direction.

radiusVert

The size of the radius in the vertical direction.

angleStart

The starting angles of the arc in degrees.

angleEnd

The ending angles of the arc in degrees.

 

Settings for Type

Constant

Value

Description

flpArcShape

1

Arc

flpPieSliceShape

2

Pie slice

flpChordShape

3

Chord

 

 

Remarks

This method adds an arc shape to the view. The edge color, line width, and line pattern are set with the last setting of the ObjectPen method. The fill pattern and filled color are set with the last setting of the ObjectBrush method.


 

See Also

All Object Routines, ObjectRectAdd Method, ObjectTextAdd Method, ObjectTextAddRect Method, ObjectPictAdd Method

 

 

 

Last modified on: Friday, August 16, 2002