Shapes

Trace and fill built-in and custom shapes with a color, gradient, or other pattern.

Overview 概要

Draw shapes like circles and rectangles, as well as custom paths that define shapes of your own design. Apply styles that include environment-aware colors, rich gradients, and material effects to the foreground, background, and outline of your shapes.

If you need the efficiency or flexibility of immediate mode drawing — for example to create particle effects — use a Canvas view instead.

Topics 話題

Shape Fundamentals

Rectangular Shapes

Circular Shapes

Custom Shapes

Transformed Shapes 変形された形状

Shape Styles

Use a shape style to fill a shape or trace a path with a color, a gradient, a material, or some other pattern.

Supporting Shape Style Types

Construct instances of these styles using the properties and methods of the shape style protocol.

See Also 参照

User Interface Elements