程序包 org.bukkit.map

# 类 MapFont.CharacterSprite

java.lang.Object
org.bukkit.map.MapFont.CharacterSprite

封闭类:
  MapFont

public static class MapFont.CharacterSprite extends Object
Represents the graphics for a single character in a MapFont.

- ## 构造器概要

  构造器
  构造器
  说明
  `CharacterSprite(int width, int height, @org.jetbrains.annotations.NotNull boolean[] data)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `boolean`
  `get(int row, int col)`
  Get the value of a pixel of the character.
  `int`
  `getHeight()`
  Get the height of the character sprite.
  `int`
  `getWidth()`
  Get the width of the character sprite.

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### CharacterSprite

    public CharacterSprite(int width, int height, @NotNull @org.jetbrains.annotations.NotNull boolean[] data)

- ## 方法详细资料

  - ### get

    public boolean get(int row, int col)
    Get the value of a pixel of the character.
    参数:
      `row` - The row, in the range [0,8).
      `col` - The column, in the range [0,8).
    返回:
      True if the pixel is solid, false if transparent.

  - ### getWidth

    public int getWidth()
    Get the width of the character sprite.
    返回:
      The width of the character.

  - ### getHeight

    public int getHeight()
    Get the height of the character sprite.
    返回:
      The height of the character.