Browse Source

Inline doc typo

nockawa 9 năm trước cách đây
mục cha
commit
6bdb7d4f1f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Canvas2d/babylon.text2d.ts

+ 1 - 1
src/Canvas2d/babylon.text2d.ts

@@ -268,7 +268,7 @@
          * - origin: define the normalized origin point location, default [0.5;0.5]
          * - fontName: the name/size/style of the font to use, following the CSS notation. Default is "12pt Arial".
          * - fontSuperSample: if true the text will be rendered with a superSampled font (the font is twice the given size). Use this settings if the text lies in world space or if it's scaled in.
-         * - defaultColor: the color by default to apply on each letter of the text to display, default is plain white.
+         * - defaultFontColor: the color by default to apply on each letter of the text to display, default is plain white.
          * - areaSize: the size of the area in which to display the text, default is auto-fit from text content.
          * - tabulationSize: number of space character to insert when a tabulation is encountered, default is 4
          * - isVisible: true if the text must be visible, false for hidden. Default is true.