Skip to main content

Type Alias: RNCircle

type RNCircle = {
center: RNLatLng;
fillColor?: string;
id: string;
pressable?: boolean;
radius: number;
strokeColor?: string;
strokeWidth?: number;
zIndex?: number;
};

Circle definition.

Properties​

PropertyTypeDefault valueDescription
centerRNLatLngCircle center. See RNLatLng.
fillColor?stringFill color.
idstringUnique circle identifier.
pressable?booleanfalseEnables circle press events.
radiusnumberRadius in meters.
strokeColor?stringStroke color.
strokeWidth?numberStroke width in logical units. iOS: points (pt) Android: density-independent pixels (dp) Converted internally to physical pixels.
zIndex?number0Z-index used for rendering order.