Lines Matching defs:jstyle
32 GlowAdapter(const skjson::ObjectValue& jstyle, const AnimationBuilder& abuilder, Type type)
34 this->bind(abuilder, jstyle["c" ], fColor);
35 this->bind(abuilder, jstyle["o" ], fOpacity);
36 this->bind(abuilder, jstyle["s" ], fSize);
37 this->bind(abuilder, jstyle["sr"], fInnerSource);
38 this->bind(abuilder, jstyle["ch"], fChoke);
142 static sk_sp<sksg::RenderNode> make_glow_effect(const skjson::ObjectValue& jstyle,
146 auto filter_node = abuilder.attachDiscardableAdapter<GlowAdapter>(jstyle, abuilder, type);
153 sk_sp<sksg::RenderNode> EffectBuilder::attachOuterGlowStyle(const skjson::ObjectValue& jstyle,
155 return make_glow_effect(jstyle, *fBuilder, std::move(layer), GlowAdapter::Type::kOuterGlow);
158 sk_sp<sksg::RenderNode> EffectBuilder::attachInnerGlowStyle(const skjson::ObjectValue& jstyle,
160 return make_glow_effect(jstyle, *fBuilder, std::move(layer), GlowAdapter::Type::kInnerGlow);