Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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>
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.