Draw a rectangle

Use the
Rectangle
tool to draw rectangles.
  1. In
    Project view
    , double-click the container to include the object.
  2. In the editor toolbar, select Rectangle icon
    Rectangle
    .
  3. In the editor, position the crosshair where the rectangle is to begin.
  4. Drag the rectangle to the end position.
    The object appears in the editor and in
    Project view
    .
  5. (optional) In
    Properties
    , edit the
    Appearance
    settings:
    • Visible
      . Show the object at runtime.
    • Enabled
      . Enable interaction with the object at runtime.
    • Opacity
      . Opacity level of the object in percentages. Set to
      0
      to make the object transparent.
    • Blink
      . Blink the object at runtime.
    • Rotation
      . Rotate the object around its center point (in arc degrees). Positive values rotate the object clockwise; Negative values rotate the object counterclockwise.
    • Border color
      . Color of the border of the object.
    • Fill color
      . Fill color of the object.
    • Border thickness
      . Thickness of the object border in pixels.
    • Corner radius
      . Radius of the corners of the object in pixels.
    • Hit test visible
      . Intercept user selections. False by default - user selections are not intercepted and are passed to the underlying object.
    • Style
      . Object style. See Style sheets.
  6. (optional) To resize, move, or align the object, see Graphic objects layout.
  7. (optional) In
    Events
    , add methods to existing events or add new events and methods. See Events and Methods.
To group drawing objects, see Group drawing objects.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal