Creating objects

You can create line, shape, text, user input, button, and animation objects, by using the tools on the toolbox and by changing the properties on the Inspector.

Create a line

  1. On the toolbox, click the Line tool.
  2. On the workspace, drag the pointer to where you want the line to end.
  3. To create a line that is at a multiple of 45 degrees, press SHIFT and drag the pointer.
  4. On the Inspector, change the properties for the line.

Create a rectangle or square

  1. On the toolbox, click the Rectangle tool.
  2. On the workspace, drag the pointer until the object is the size that you want.
  3. To create a square, press SHIFT and drag the pointer.
  4. On the Inspector, change the properties for the rectangle object.

Create a rounded rectangle or rounded square

The maximum X- or Y-axis radius length that the BlackBerry Composer displays for the roundness of corners is half the height or width of the shape. If you type a value that exceeds half the height or width of the shape, the BlackBerry Composer processes the value as half the height or width, and does not change the values in the Inspector. The BlackBerry Composer stores the value and applies it if you resize the shape such that the value is less than or equal to half the height or width of the shape.

  1. On the toolbox, click the Rounded Rectangle tool.
  2. On the workspace, drag the pointer until the object is the size that you want.
  3. To create a rounded square, press SHIFT and drag the pointer.
  4. To change the roundness of the corners, on the Inspector, click the Rounded Rectangle tab.
  5. In the X and Y fields, type the X-axis and Y-axis radius lengths, or click the arrow and move the slide bars to adjust the value.
  6. On the Inspector, change additional properties for the rounded rectangle object.

Create an ellipse or circle

  1. On the toolbox, click the Ellipse tool.
  2. Perform one of the following actions:

    • To create an ellipse, drag the pointer until the object is the size that you want.
    • To create a circle, press SHIFT and drag the pointer.
  3. On the Inspector, change the properties for the object.

Create a freehand path

  1. On the toolbox, click the Freehand tool.
  2. On the workspace, click and draw a freehand path.
  3. On the Inspector, adjust the properties for the path.

Create an elliptical arc

  1. On the toolbox, click the Arc tool.
  2. On the workspace, drag the pointer.
  3. To change the elliptical arc properties, in the Inspector, click the Arc tab.
  4. In the X and Y fields, type the X- axis and Y-axis radius lengths.
  5. To adjust the angle of the X-axis radius, in the Axis Rotation field, type the rotation angle in degrees.
  6. To draw the arc as the longer distance around the ellipsis on which the arc is based, select the Large Arc check box.
  7. To draw the arc on the negative side of the X-Axis radius, select the Flip check box.

Create a polygon or polyline

  1. On the toolbox, click the Polyline tool.
  2. On the workspace, drag the pointer and click to create each path segment.
  3. To end the path without closing it, double-click the desired endpoint, or press ENTER.
  4. To close the path, double-click the starting anchor point.

Create a Bézier curve

  1. On the toolbox, click the Bézier tool.
  2. On the workspace, click to position the starting anchor point.
  3. Move the pointer to the next anchor point and click.
  4. Drag the pointer to adjust the curve and to create the control point that you can control to change the direction and shape of the curve.
  5. To add additional path segments, repeat steps 3 and 4.
  6. To end the path without closing it, double-click the desired endpoint, or press ENTER.
  7. To close the path, double-click the starting anchor point.
  8. Adjust the control points as necessary to change the shape and direction of the curve.

Create a simple text object

  1. On the toolbox, click the Text tool.
  2. Type the text.
  3. On the Inspector, change the font properties for the text object.