"hclapp_1" wrote:
Scene graph comes under brightscript na ? Am I correct...?
"EnTerr" wrote:At 2nd blush, i maintain my initial guess - RSG is not right for you.
At first blush, focus on using only SDK1 - and none of the SDK2 (the so-called "Roku Scene Graph"). It's hard to tell them apart because the documentation is a mishmash assuming you know already which is which - but if the component name starts with "ro" - use that. If it starts with "roSG" or no "ro" prefix at all - that is RSG and trust me, you don't want that.
"hclapp_1" wrote:
I have read the basics of bright script, if RSG is not useful for me, then whats the purpose of RSG, in which scenario we use RSG. Please explain
"hclapp_1" wrote:
Hi En terr
Is this link helps me to read brightscript
http://docs.brightsign.biz/display/DOC/Object+Reference
"hclapp_1" wrote:
Doubts are:
- If my web services data is more than 100 list items, so i need to create separate layer for each list items. is that advisable or any other method to achieve it.
- How to change Right side content font line-height , apart from system font shall i give any other font? is that possible.
"EnTerr" wrote:
TextAttrs Attribute Keys says "Also can use any fonts registered by the roFontRegistry Object and returned by its Get() method". How you can specify size/bold/italic attributes though, i have no idea.
"RokuKC" wrote:
Shirley, you aren't serious... :roll:
ifFontRegistry Get(family as String, size as Integer, bold as Boolean, italic as Boolean) as String
https://sdkdocs.roku.com/display/sdkdoc ... casBoolean)asString
roFonts = createObject("roFontRegistry")
roFonts.register("pkg:/myFont.ttf")
newFontToken = roFonts.get("myFontFamilial", 10, false, true)
canvasItem = {
text: "Hello ImageCanvas"
textAttrs: {Color: "#FFCCCCCC", Font: newFontToken}
targetRect: {x:390, y:357, w:500, h:60}
}