public CKLBUILabel(CKLBUITask parent, uint order, float x, float y, uint argb, String font_name, uint font_size, String text, EALIGN align) : base(s_classID) { NativeManagement.resetCppError(); IntPtr ptr = CKLBUILabel_create(parent != null ? parent.CppObject : IntPtr.Zero, order, x, y, argb, __MarshallingUtils.NativeUtf8FromString(font_name), font_size, __MarshallingUtils.NativeUtf8FromString(text), (uint)align); NativeManagement.intercepCppError(); bind(ptr); }
// Default value : ViewWidth public void setAlign(EALIGN align, int alignWidth = -1) { if (CppObject != IntPtr.Zero) { CKLBUIVirtualDoc_setAlign(CppObject, (uint)align, (alignWidth == -1) ? (int)ViewWidth : alignWidth); } else { throw new CKLBExceptionNullCppObject(); } }
public CKLBUIScore( CKLBUITask parent, uint order, int orderOffset, float x, float y, String[] textureTable, float stepX, float stepY, int column, bool fillZeroFlag, bool animationFlag, EALIGN align = EALIGN.ALIGN_RIGHT, bool countClip = false) : base(s_classID) { NativeManagement.resetCppError(); IntPtr ptr = CKLBUIScore_create(parent != null ? parent.CppObject : IntPtr.Zero, order, orderOffset, x, y, __MarshallingUtils.NativeUtf8ArrayFromStringArray(textureTable, textureTable.Length), stepX, stepY, column, fillZeroFlag, animationFlag, (uint)align, countClip); NativeManagement.intercepCppError(); bind(ptr); }
// Default value : ViewWidth public void setAlign(EALIGN align, int alignWidth = -1) { if(CppObject != IntPtr.Zero) { CKLBUIVirtualDoc_setAlign(CppObject, (uint)align, (alignWidth == -1) ? (int)ViewWidth : alignWidth); } else { throw new CKLBExceptionNullCppObject(); } }
public CKLBUIScore(CKLBUITask parent, uint order, int orderOffset, float x, float y, String[] textureTable, float stepX, float stepY, int column, bool fillZeroFlag, bool animationFlag, EALIGN align = EALIGN.ALIGN_RIGHT, bool countClip = false) : base(s_classID) { NativeManagement.resetCppError(); IntPtr ptr = CKLBUIScore_create(parent != null ? parent.CppObject : IntPtr.Zero, order, orderOffset, x, y, __MarshallingUtils.NativeUtf8ArrayFromStringArray(textureTable, textureTable.Length), stepX, stepY, column, fillZeroFlag, animationFlag, (uint)align, countClip); NativeManagement.intercepCppError(); bind(ptr); }