Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.22 KB

ScreenshotMarkerUpdateParameters.md

File metadata and controls

21 lines (14 loc) · 1.22 KB

Phrase::ScreenshotMarkerUpdateParameters

Properties

Name Type Description Notes
branch String specify the branch to use [optional]
key_id String Specify the Key ID which should be highlighted on the specified screenshot. The Key must belong to the project. [optional]
presentation String Presentation details of the screenshot marker in JSON format.<br/><br/>Each Screenshot Marker is represented as a rectangular shaped highlight box with the name of the specified Key attached. You can specify the marker position on the screenshot (<code>x</code>-axis and <code>y</code>-axis in pixels) from the top left corner of the screenshot and the dimensions of the marker itself (<code>w</code> and <code>h</code> in pixels). [optional]

Code Sample

require 'Phrase'

instance = Phrase::ScreenshotMarkerUpdateParameters.new(branch: my-feature-branch,
                                 key_id: abcd1234abcd1234abcd1234abcd1234,
                                 presentation: { &quot;x&quot;: 100, &quot;y&quot;: 100, &quot;w&quot;: 100, &quot;h&quot;: 100 })