Ejemplo n.º 1
0
        // シンプルなTextViewを作成
        public static UTextView createInstance(String text, int priority,
                                               float x, float y)
        {
            UTextView instance = new UTextView(text, DEFAULT_TEXT_SIZE, priority, StringAlignment.Near, StringAlignment.Near,
                                               false,
                                               x, y, DEFAULT_COLOR);

            return(instance);
        }
Ejemplo n.º 2
0
        public static UTextView createInstance(String text, int fontSize, int priority,
                                               bool multiLine,
                                               float x, float y,
                                               Color color)
        {
            UTextView instance = new UTextView(text, fontSize, priority, StringAlignment.Near, StringAlignment.Near,
                                               multiLine, x, y, color);

            return(instance);
        }