Class PHPWord_Shared_Drawing
Class PHPWord_Shared_Drawing
Methods summary
public static
integer
|
#
pixelsToEMU( integer $pValue = 0 )
Convert pixels to EMU
Parameters
- $pValue
integer $pValue Value in pixels
Returns
integer Value in EMU
|
public static
integer
|
#
EMUToPixels( integer $pValue = 0 )
Convert EMU to pixels
Parameters
- $pValue
integer $pValue Value in EMU
Returns
integer Value in pixels
|
public static
integer
|
#
pixelsToPoints( integer $pValue = 0 )
Convert pixels to points
Parameters
- $pValue
integer $pValue Value in pixels
Returns
integer Value in points
|
public static
integer
|
#
pointsToPixels( integer $pValue = 0 )
Convert points width to pixels
Convert points width to pixels
Parameters
- $pValue
integer $pValue Value in points
Returns
integer Value in pixels
|
public static
integer
|
#
degreesToAngle( integer $pValue = 0 )
Convert degrees to angle
Parameters
- $pValue
integer $pValue Degrees
Returns
integer Angle
|
public static
integer
|
#
angleToDegrees( integer $pValue = 0 )
Convert angle to degrees
Parameters
- $pValue
integer $pValue Angle
Returns
integer Degrees
|
public static
integer
|
#
pixelsToCentimeters( integer $pValue = 0 )
Convert pixels to centimeters
Convert pixels to centimeters
Parameters
- $pValue
integer $pValue Value in pixels
Returns
integer Value in centimeters
|
public static
integer
|
#
centimetersToPixels( integer $pValue = 0 )
Convert centimeters width to pixels
Convert centimeters width to pixels
Parameters
- $pValue
integer $pValue Value in centimeters
Returns
integer Value in pixels
|
public static
array
|
#
htmlToRGB( str $pValue )
Convert HTML hexadecimal to RGB
Convert HTML hexadecimal to RGB
Parameters
- $pValue
str $pValue HTML Color in hexadecimal
Returns
array Value in RGB
|