GraffitiRuler

Images #

About #

GraffitiRuler allows developers to add an approximate representation of true measurements to screen objects.  Using properties for image resolution (DPI) and scale to properly calculate the real-world size of and image from its pixel dimensions.

Enumerations #

Name Values
This class exposes no enumerations.

Constants #

Name Type Value
This class exposes no constants.

Events #

Definition Description
This class does not expose any events.

Methods #

Definition Description
This class does not expose any methods.

Properties #

Name Type Default Value Description
BorderColor Color &c000000 The color used to draw the outer edge of the control.
ImageResolution Integer 72 The DPI ratio of the image (IE: 72 pixels per inch).
ImageScale Double 100 The scale ratio of the image (IE: 0.10 for 10% of original size).
MarkerColor Color &c000000 The color used to draw the marker lines for the individual units of measure.
MarkerTextColor Color &c000000 The color used to draw the numbers for each marker line.
MarkerTextFont String “system” The font face used for marker digit display.
MarkerTextSize Integer 0 The font size used for marker digit display.
RulerBG Color &c000000 The background color of the ruler display.
ScrollOffset Integer 0 The scroll position of the image in relation to the ruler.
XYPosition Integer 0 The starting position of the image in relation to the ruler.

Examples #

There are currently no examples for this class.