类 StrokeWidthTransform.StrokeSpace

    • 构造器详细资料

      • StrokeSpace

        public StrokeSpace​(byte[] direction,
                           short[] thicknessH,
                           short[] thicknessS,
                           int width,
                           int height)
        Create a space of stroke width
        参数:
        direction - direction(bit or)
        thicknessH - thickness in horizontal or vertical direction
        thicknessS - thickness in throwing or pressing direction
        width - width of the image
        height - height of the image
    • 方法详细资料

      • getDirection

        public byte[] getDirection()
        返回:
        direction(bit or)
      • getThicknessH

        public short[] getThicknessH()
        返回:
        thickness in horizontal or vertical direction
      • getThicknessS

        public short[] getThicknessS()
        返回:
        thickness in throwing or pressing direction
      • getWidth

        public int getWidth()
        返回:
        width of the image
      • getHeight

        public int getHeight()
        返回:
        height of the image