setAlgorithm method

BitmapStyle setAlgorithm(
  1. ImageAlgorithm algorithm
)

设置渲染图片方式

Implementation

BitmapStyle setAlgorithm(ImageAlgorithm algorithm) {
  bitmapFormat.style = algorithm.index;
  return this;
}