Base sparkline image class.
Base sparkline image class.
__construct() ¶Create a new Sparkline instance.
set_image_border($top, $right=null, $bottom=null, $left=null) ¶Set the border of the image.
Omission of values works just like CSS. Note that something like $image->set('image-border', 3, null, 4, 2) doesn't work. This is intentional, since it makes no sense for a shorthand method. Single values can be specified using the image-border-top, image-border-right, image-border-bottom, and image-border-left properties.
$topTop image border
$rightRight image border (optional)
$bottomBottom image border (optional)
$leftLeft image border (optional)
get_scaled_values() [protected] ¶Return a list of all values, scaled to the current scale factor and rounded to integers.
Scaled and rounced values
AnewtContainer::_to_array()AnewtContainer::_add()AnewtContainer::delete()AnewtContainer::get()AnewtContainer::_isset()AnewtContainer::_seed()AnewtContainer::setdefault()AnewtContainer::getdefault()AnewtContainer::set()AnewtContainer::__isset()AnewtContainer::__set()AnewtContainer::__construct()AnewtContainer::is_set()AnewtContainer::add()AnewtContainer::_getdefault()AnewtContainer::__unset()AnewtContainer::seed()AnewtContainer::to_array()AnewtContainer::_get()AnewtContainer::__get()AnewtContainer::keys()AnewtContainer::clear()AnewtContainer::_keys()AnewtContainer::_set()AnewtImage::from_string()AnewtImage::$__imgAnewtImage::from_jpeg()AnewtImage::save_jpeg()AnewtImage::get_width()AnewtImage::save_png()AnewtImage::flush_jpeg()AnewtImage::save()AnewtImage::from_png()AnewtImage::get_dimensions()AnewtImage::resize()AnewtImage::color_from_rgb()AnewtImage::get_quality_()AnewtImage::get_height()AnewtImage::from_file()AnewtImage::post_output()AnewtImage::resize_width()AnewtImage::color_from_string()AnewtImage::fill()AnewtImage::__construct()AnewtImage::resize_height()AnewtImage::resize_relative()AnewtImage::color_from_rgba()AnewtImage::resize_percentage()AnewtImage::crop()AnewtImage::destroy()AnewtImage::flush_png()AnewtImage::from_gif()AnewtImage::resize_within()AnewtImage::color_to_string()AnewtImage::set_dimensions()AnewtImage::flush()AnewtImage::set_width()AnewtImage::create_drawing_context()AnewtImage::set_height()AnewtImage::pre_output()AnewtImage::color_to_rgb()