SwiftUI React Nativev6.3.3
  • Values
  • Runtime

Getting started

  • Introduction
  • Installation
  • Quick start

Concepts

  • Reading the reference
  • Composing modifiers
  • Values
  • State and data flow

About

  • What it is
  • Why SwiftUI
  • History

Under the hood

  • How it renders
  • How it's generated
  • Principles
ValuesOther values

Circle

A circle centered on the frame of the view containing it.

StructureiOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+Circle in SwiftUI

Declaration#

React
type Circle = SwiftOpaque<'Circle'>;
Swift
@frozen struct Circle

Overview#

The circle's radius equals half the length of the frame rectangle's smallest edge.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also#

More in Other values.

  • AxisThe horizontal or vertical dimension in a 2D coordinate system.
  • AxisSetAn efficient set of axes.
  • ButtonRoleA value that describes the purpose of a button.
  • CapsuleA capsule shape aligned inside the frame of the view containing it.
  • ConcentricRectangleA shape whose corners you configure, individually or uniformly, to be squared, rounded, or concentric relative to a container shape's corners.
  • ContentMarginGuideA guide for resolving the content margins for a view.
  • ContentMarginPlacementThe placement of margins.
  • ContentModeConstants that define how a view's content fills the available space.
  • DatePickerComponents
  • DatePickerComponents2The date and time components that a date picker shows.
  • DeviceHingeA type encapsulating the state of a single hinge.
  • DeviceHingeContextA type describing the context of hinges on the device.

On this page

0%
  • Declaration
  • Overview
  • See also
Report an issue