Total Pageviews

Wednesday, March 12, 2014

ស្វែងយល់អំពី Native.newFont()

Native.newFont()សំរាប់ Native មួយនេះប្រើក្នុងការបង្កើត Font Object ដែលអាចប្រើ
Fonts ណាមួយដែលនៅក្នុង Native text field & Text Boxes។ វាក៏អាចដាក់ Parameter ក៏បានដោយប្រើ display.newText()
ចំណាំះ Font ដែលមានអាស្រ័យទៅលើ Devices

Syntax: native.newFont (name [, size])
name*: (តំរូវការ) វាជា String ដែលកំនត់សំគាល់នៅ Font
native.systemFont
native.systemFontBold

size*:(ជំរើស) ជាលេខ ជាទំហំរបស់ Font

No comments:

Post a Comment