package Ġkotlinx . css . properties Ċ Ċ import Ġkotlinx . css . Rule Ċ import Ġkotlinx . css . Rule Container Ċ import Ġkotlinx . css . Rule Set Ċ Ċ class ĠKey frames Builder ( private Ġval Ġindent : ĠString Ġ= Ġ"") Ġ: ĠRule Container Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠtoString () Ġ= ĊĠĠĠĠĠĠĠ Ġbuild String Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbuild Rules ( indent ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġval Ġrules Ġ= Ġmutable ListOf < Rule >() ĊĠĠĠ Ġoverride Ġval Ġmulti Rules Ġ= Ġmutable ListOf < Rule >() ĊĊĠĠĠ Ġfun Ġfrom ( block : ĠRule Set ) Ġ= Ġrule (" from ", Ġblock ) ĊĠĠĠ Ġfun Ġto ( block : ĠRule Set ) Ġ= Ġrule (" to ", Ġblock ) ĊĊĠĠĠ Ġoperator Ġfun ĠInt . invoke ( block : ĠRule Set ) Ġ= Ġrule ("$ this %", Ġblock ) ĊĠĠĠ Ġoperator Ġfun ĠDouble . invoke ( block : ĠRule Set ) Ġ= Ġrule ("$ this %", Ġblock ) Ċ } Ċ