BBjFormFrame::setMiter

Description

In BBj 4.00 and higher, this method sets the miter style of the frame.

Syntax

Return Value Method
void setMiter(int miter)

Parameters

Parameter Description
miter Specify the miter style of the frame by selecting between JOIN_BEVEL, JOIN_MITER, or JOIN_ROUND.

Return Value

None.

Remarks

By default, the miter style is JOIN_MITER.

Example

rem 'Set 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 'Set frame miter
myBBjFormPage!.setMiter(myBBjFormPage!.JOIN_ROUND)
release

ClosedVersion History

  • BBj 4.00: BBjFormFrame::setMiter added.

See Also

BBjAPI

java.awt.BasicStroke

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