如何在Roku ..中使用圆形图像视图?

时间:2019-07-18 06:34:13

标签: roku brightscript

我正在使用BrightScript和SceneGraph组件以圆形视图显示图像,但是找不到“圆形视图”选项。我想要一个如下图的视图:

example

1 个答案:

答案 0 :(得分:1)

您必须将Import-Module ActiveDirectory $US = Get-ADUser -Filter "Enabled -eq '$true'" -Property Enabled $Groups = Get-ADGroup -Filter "Name -like '*RDS Users' -and Name -ne 'RDS Users'" | Select-Object -ExpandProperty Name $Table = Foreach ($Group in $Groups) { $Arrayofmembers = Get-ADGroupMember -Identity $Group -ErrorAction Stop | Select-Object Name, SamAccountName $compare = Compare-Object -ReferenceObject $US -DifferenceObject $Arrayofmembers -ExcludeDifferent -IncludeEqual -PassThru -Property SamAccountName -ErrorAction Stop | Select-Object Name, SamAccountName [pscustomobject]@{ "Group Name" = $Group "Name" = $compare.Name "UserName" = $compare.SamAccountName } } $table 节点插入MaskGroup中,然后使用属性Poster将圆形蒙版图像设置为蒙版组。

GitHub上查看Roku的maskUri示例。

请记住,蒙版图像必须为纯黑色才能获得所需的效果,例如:
enter image description here