import { BuildableTree , Snippet } from "../builder/buildable-tree" ; import { double } from "../dart" ; export class Radius extends BuildableTree { static circular ( radius ) { return new Radius ( ) . extendWithFactory ( "circular" ) . overrideArguments ( { __default__ : radius } ) ; } static elliptical ( x , y ) { return new Radius ( ) . extendWithFactory ( "elliptical" ) . overrideArguments ( { __default__x : x , __default__y : y } ) ; } static readonly zero = Snippet . fromStatic ( "Radius.zero" ) ; }