Skip to content

[Feat] Margin support when using positionOptions #270

@phantrungdien

Description

@phantrungdien

I use React Native CLI, I want the text to be positioned at the top right, 60px from the top, and 60px from the right, but it's not working.

Please add the following settings to positionOptions to support X and Y axes:

For example:

const STAMP_TOP_OFFSET = 60;
const STAMP_RIGHT_OFFSET = 60;

positionOptions: {
          position: Position.topRight,
          X: STAMP_RIGHT_OFFSET,
          Y: STAMP_TOP_OFFSET,
        }

Development Environment (please complete the following information):

react-native: 0.84.0
react-native-image-marker: 1.2.11
Smartphone (please complete the following information):

Device: emulator & real device
Operating System: Android (current)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions