Java Pixel Convert From toPixelLength(float number)

Here you can find the source of toPixelLength(float number)

Description

to Pixel Length

License

Open Source License

Declaration

public static int toPixelLength(float number) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int toPixelLength(float number) {
        return (int) (number * 16);
    }//w w w .  j  a  v a  2  s .  c  o m
}

Related

  1. toPixel(byte b)
  2. toPixel(float meter)
  3. toPixel(String value)
  4. toPixelByte(float floatValue)
  5. toPixelFromByte(int byteValue)
  6. toPixelPosY(float posY)
  7. toPixelWidth(float width)