<commit_before>package flaxen.component;

/*
 * This changes the rotation point of the image. It does not change the center point! 
 * To do that, use Offset. Supply true for asPercentage to interpret x/y as percentages of
 * width/height. For example new Origin(-0.5, -0.5, true) rotates any image around its center.
 */
 
class Origin
{
	public var x:Float;
	public var y:Float;
	public var asPercentage:Bool = false;

	public function new(x:Float, y:Float, asPercentage:Bool = false)
	{
		this.x = x;
		this.y = y;
		this.asPercentage = asPercentage;
	}

	inline public static function center(): Offset
	{
		return new Offset(-0.5, -0.5, true);
	}
}<commit_msg>Whoops, works but confusingly; fixed.<commit_after>package flaxen.component;

/*
 * This changes the rotation point of the image. It does not change the center point! 
 * To do that, use Offset. Supply true for asPercentage to interpret x/y as percentages of
 * width/height. For example new Origin(-0.5, -0.5, true) rotates any image around its center.
 */

class Origin
{
	public var x:Float;
	public var y:Float;
	public var asPercentage:Bool = false;

	public function new(x:Float, y:Float, asPercentage:Bool = false)
	{
		this.x = x;
		this.y = y;
		this.asPercentage = asPercentage;
	}

	inline public static function center(): Origin
	{
		return new Origin(-0.5, -0.5, true);
	}
}
{'fraction_non_alphanumeric': 0.10584752035529238, 'fraction_numerical': 0.011843079200592153, 'mean_word_length': 3.6782006920415227, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3377694', 'n_tokens_mistral': 465, 'n_tokens_neox': 437, 'n_words': 164}