コード例 #1
0
 protected function DrawEffects()
 {
     parent::DrawEffects();
     $_i19mgr4ffv4mlop7 = LBD_RandomizationHelper::RandomFromRange($this->m_Graphics->GetHeight() / 10, $this->m_Graphics->GetHeight() / 5);
     $_lqy7br9gc6vwai69 = $this->m_Graphics->GetBounds();
     $_lqy7br9gc6vwai69->Outline = LBD_LineStyle::Single(LBD_LineLayer::Solid($_i19mgr4ffv4mlop7, $this->TextColor));
     $_lqy7br9gc6vwai69->Draw($this->m_Graphics);
     $_Onrvp68av3uk45lg = new LBD_HorizontalLines();
     $_Onrvp68av3uk45lg->SpacingRange = new LBD_RandomRange($this->m_Graphics->GetHeight() / 5 + 1, 2 * $this->m_Graphics->GetHeight() / 5 + 1);
     $_Onrvp68av3uk45lg->Prototype->Outline = LBD_LineStyle::Single(LBD_LineLayer::Solid(1, $this->TextColor));
     $_Onrvp68av3uk45lg->Draw($this->m_Graphics);
     $_1tqe9na5bn2wsjjv2fo1l = new LBD_RandomDots();
     $_1tqe9na5bn2wsjjv2fo1l->Prototype->FillColor = $this->TextColor;
     $_1tqe9na5bn2wsjjv2fo1l->SurfacePercentage = $this->m_Graphics->GetHeight() / 10;
     $_1tqe9na5bn2wsjjv2fo1l->DrawFast($this->m_Graphics);
     $_1qnve1r5cw2xinnyeugm236f10 = new LBD_RandomCircles();
     $_1qnve1r5cw2xinnyeugm236f10->Prototype->FillColor = $this->TextColor;
     $_1qnve1r5cw2xinnyeugm236f10->Prototype->RadiusRange = new LBD_RandomRange(1, $this->m_Graphics->GetHeight() / 12);
     $_1qnve1r5cw2xinnyeugm236f10->SurfacePercentage = $this->m_Graphics->GetHeight() / 15;
     $_1qnve1r5cw2xinnyeugm236f10->DrawFast($this->m_Graphics);
     $_ivpgj1s9l49by7d07mo7c = new LBD_Wave();
     $_ivpgj1s9l49by7d07mo7c->Level = min(4, $this->m_Graphics->GetHeight() / 20);
     $_ivpgj1s9l49by7d07mo7c->OverflowColor = $this->TextColor;
     $_ivpgj1s9l49by7d07mo7c->Apply($this->m_Graphics);
 }
コード例 #2
0
 protected function DrawEffects()
 {
     parent::DrawEffects();
     $_o60qdj1wpqi3hso6hpn0uhbt09 = LBD_RandomizationHelper::RandomFromRange($this->m_Graphics->GetHeight() / 10, $this->m_Graphics->GetHeight() / 5);
     $_I5hi15flz8sqc8b2z3d0i = $this->m_Graphics->GetBounds();
     $_I5hi15flz8sqc8b2z3d0i->Outline = LBD_LineStyle::Single(LBD_LineLayer::Solid($_o60qdj1wpqi3hso6hpn0uhbt09, $this->TextColor));
     $_I5hi15flz8sqc8b2z3d0i->Draw($this->m_Graphics);
     $_i8ae4zgb6d6f6xwfwn6fh = new LBD_HorizontalLines();
     $_i8ae4zgb6d6f6xwfwn6fh->SpacingRange = new LBD_RandomRange($this->m_Graphics->GetHeight() / 5 + 1, 2 * $this->m_Graphics->GetHeight() / 5 + 1);
     $_i8ae4zgb6d6f6xwfwn6fh->Prototype->Outline = LBD_LineStyle::Single(LBD_LineLayer::Solid(1, $this->TextColor));
     $_i8ae4zgb6d6f6xwfwn6fh->Draw($this->m_Graphics);
     $_179cm9gatvpf3tpf75lp2 = new LBD_RandomDots();
     $_179cm9gatvpf3tpf75lp2->Prototype->FillColor = $this->TextColor;
     $_179cm9gatvpf3tpf75lp2->SurfacePercentage = $this->m_Graphics->GetHeight() / 10;
     $_179cm9gatvpf3tpf75lp2->DrawFast($this->m_Graphics);
     $_Iqoews5vlf4sicd9x96md = new LBD_RandomCircles();
     $_Iqoews5vlf4sicd9x96md->Prototype->FillColor = $this->TextColor;
     $_Iqoews5vlf4sicd9x96md->Prototype->RadiusRange = new LBD_RandomRange(1, $this->m_Graphics->GetHeight() / 12);
     $_Iqoews5vlf4sicd9x96md->SurfacePercentage = $this->m_Graphics->GetHeight() / 15;
     $_Iqoews5vlf4sicd9x96md->DrawFast($this->m_Graphics);
     $_Ia2sl2h48ey64r4h94mdnab1fk = new LBD_Wave();
     $_Ia2sl2h48ey64r4h94mdnab1fk->Level = min(4, $this->m_Graphics->GetHeight() / 20);
     $_Ia2sl2h48ey64r4h94mdnab1fk->OverflowColor = $this->TextColor;
     $_Ia2sl2h48ey64r4h94mdnab1fk->Apply($this->m_Graphics);
 }
 protected function DrawEffects()
 {
     parent::DrawEffects();
     $_ixzr9axb76nqdga17qd91 = LBD_RandomizationHelper::RandomFromRange($this->m_Graphics->GetHeight() / 10, $this->m_Graphics->GetHeight() / 5);
     $_lwmkbb5fsfkudzcg = $this->m_Graphics->GetBounds();
     $_lwmkbb5fsfkudzcg->Outline = LBD_LineStyle::Single(LBD_LineLayer::Solid($_ixzr9axb76nqdga17qd91, $this->TextColor));
     $_lwmkbb5fsfkudzcg->Draw($this->m_Graphics);
     $_l1a8vf42r6eeloh3 = new LBD_HorizontalLines();
     $_l1a8vf42r6eeloh3->SpacingRange = new LBD_RandomRange($this->m_Graphics->GetHeight() / 5 + 1, 2 * $this->m_Graphics->GetHeight() / 5 + 1);
     $_l1a8vf42r6eeloh3->Prototype->Outline = LBD_LineStyle::Single(LBD_LineLayer::Solid(1, $this->TextColor));
     $_l1a8vf42r6eeloh3->Draw($this->m_Graphics);
     $_oz4ndfg8t14mvz4ze1tu38jil6 = new LBD_RandomDots();
     $_oz4ndfg8t14mvz4ze1tu38jil6->Prototype->FillColor = $this->TextColor;
     $_oz4ndfg8t14mvz4ze1tu38jil6->SurfacePercentage = $this->m_Graphics->GetHeight() / 10;
     $_oz4ndfg8t14mvz4ze1tu38jil6->DrawFast($this->m_Graphics);
     $_Ii8l002axhk9mf1u = new LBD_RandomCircles();
     $_Ii8l002axhk9mf1u->Prototype->FillColor = $this->TextColor;
     $_Ii8l002axhk9mf1u->Prototype->RadiusRange = new LBD_RandomRange(1, $this->m_Graphics->GetHeight() / 12);
     $_Ii8l002axhk9mf1u->SurfacePercentage = $this->m_Graphics->GetHeight() / 15;
     $_Ii8l002axhk9mf1u->DrawFast($this->m_Graphics);
     $_Ie85cchnywyyyc6w = new LBD_Wave();
     $_Ie85cchnywyyyc6w->Level = min(4, $this->m_Graphics->GetHeight() / 20);
     $_Ie85cchnywyyyc6w->OverflowColor = $this->TextColor;
     $_Ie85cchnywyyyc6w->Apply($this->m_Graphics);
 }
コード例 #4
0
ファイル: CaptchaIncludes.php プロジェクト: Keneth1212/moodle
 protected function DrawEffects()
 {
     parent::DrawEffects();
     $_i4n586b0b1e9sdna91vtolvqta = LBD_RandomizationHelper::RandomFromRange($this->m_Graphics->GetHeight() / 10, $this->m_Graphics->GetHeight() / 5);
     $_1y6zi69ortil4ixamfb2x = $this->m_Graphics->GetBounds();
     $_1y6zi69ortil4ixamfb2x->Outline = LBD_LineStyle::Single(LBD_LineLayer::Solid($_i4n586b0b1e9sdna91vtolvqta, $this->TextColor));
     $_1y6zi69ortil4ixamfb2x->Draw($this->m_Graphics);
     $_ixniwziko0j9n9su4jbyx3gzi5 = new LBD_HorizontalLines();
     $_ixniwziko0j9n9su4jbyx3gzi5->SpacingRange = new LBD_RandomRange($this->m_Graphics->GetHeight() / 5 + 1, 2 * $this->m_Graphics->GetHeight() / 5 + 1);
     $_ixniwziko0j9n9su4jbyx3gzi5->Prototype->Outline = LBD_LineStyle::Single(LBD_LineLayer::Solid(1, $this->TextColor));
     $_ixniwziko0j9n9su4jbyx3gzi5->Draw($this->m_Graphics);
     $_13m76tbhduih8f3o = new LBD_RandomDots();
     $_13m76tbhduih8f3o->Prototype->FillColor = $this->TextColor;
     $_13m76tbhduih8f3o->SurfacePercentage = $this->m_Graphics->GetHeight() / 10;
     $_13m76tbhduih8f3o->DrawFast($this->m_Graphics);
     $_o31zsafkndts1opx = new LBD_RandomCircles();
     $_o31zsafkndts1opx->Prototype->FillColor = $this->TextColor;
     $_o31zsafkndts1opx->Prototype->RadiusRange = new LBD_RandomRange(1, $this->m_Graphics->GetHeight() / 12);
     $_o31zsafkndts1opx->SurfacePercentage = $this->m_Graphics->GetHeight() / 15;
     $_o31zsafkndts1opx->DrawFast($this->m_Graphics);
     $_1ayw8oc1yx3c7x9b9pcfl1n6qn = new LBD_Wave();
     $_1ayw8oc1yx3c7x9b9pcfl1n6qn->Level = min(4, $this->m_Graphics->GetHeight() / 20);
     $_1ayw8oc1yx3c7x9b9pcfl1n6qn->OverflowColor = $this->TextColor;
     $_1ayw8oc1yx3c7x9b9pcfl1n6qn->Apply($this->m_Graphics);
 }