Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
IvanGarciaMico
Reel Rookie

Mask Group with different devices resolutions

Hello.

 

We are using a MaskGroup to round Poster images in our app. This works fine in our FHD Roku Express devices but when we try in Roku Ultra or Roku Express 4K the mask is applied only to a small portion to the image, the code look like this:

 <MaskGroup id="roundedMask" maskUri="pkg:/images/mask/horizontalCard.png">
            <Poster
                id="HorizontalCardPoster"
                width="350"
                height="197"
                loadDisplayMode="scaleToZoom"
                translation="[0,0]" />
        </MaskGroup>
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!