BBjFormFrame::getMiter

Description

In BBj 4.00 and higher, this method gets the miter style of the frame from JOIN_BEVEL, JOIN_MITER, and JOIN_ROUND.

Syntax

Return Value Method
int getMiter()

Parameters

None.

Return Value

Returns one of the following constants: JOIN_BEVEL, JOIN_MITER, or JOIN_ROUND.

Remarks

By default, the miter style is JOIN_MITER.

Example

rem 'Get frame miter

rem 'Obtain the instance to the BBjAPI object
myAPI! = BBjAPI()

rem 'Obtain an instance of a default BBjPrinter object
myBBjPrinter! = myAPI!.getBBjPrinter(0)

rem 'Get BBjForm for the selected printer
myBBjForm! = myBBjPrinter!.getForm(1)

rem 'Get a new page
myBBjFormPage! = myBBjForm!.createPage()

rem 'Get a new frame
myBBjFormPage! = myBBjFormPage!.newFrame()

rem 'Get frame miter
miter = myBBjFormFrame!.getMiter()
release

ClosedVersion History

  • BBj 4.00: BBjFormFrame::getMiter added.

See Also

BBjAPI

java.awt.BasicStroke

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.