Type Alias: RNSnapshotOptions
type RNSnapshotOptions = {
format: RNSnapshotFormat;
quality: number;
resultType: RNSnapshotResultType;
size?: RNSize;
};
Snapshot configuration.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
format | RNSnapshotFormat | Image format. See RNSnapshotFormat. | |
quality | number | Image quality from 0 to 1, used for JPEG. | |
resultType | RNSnapshotResultType | Result return type. See RNSnapshotResultType. | |
size? | RNSize | Uses the full view size. See RNSize. | Output size. |