Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

216
Visualizações
SVG Circle wont center in viewBox ract native

I have two SVG circle elements, one nested inside the other. The outermost circle (orange ) seems to not have any padding and overlaps with the border of the viewBox.

How can I position the circles inside the viewBox so that there is no overlap and the circle is not cut off?

Orange Circle is being cut off

<View style={{ alignContent: "center", alignSelf: "center" }}>
     
      <Svg
        height="250"
        width="250"
        viewBox="0 0 100 100"
        style={{ zIndex: 1, borderWidth: 1 }}
      >
        {/* OUTTER ORANGE CIRCLE */}
        <Circle
          stroke="#FF8540"
          fill="none"
          cx="50"
          cy="50"
          r={radius}
          strokeWidth="3"
          transform={`rotate(52.5 ${"50"} ${"50"})`}
          strokeDasharray={[dash, circumference - dash]}
          strokeLinecap="round"
          style={{ transition: "all 0.5s" }}
        />
        {/* INNER TEAL CIRCLE */}
        <Circle
          stroke="#1AA39B"
          fill="none"
          cx="50"
          cy="50"
          r={radius * 0.8}
          strokeWidth="3"
          transform={`rotate(-152.5 ${"50"} ${"50"})`}
          strokeDasharray={[dash, circumference - dash]}
          strokeLinecap="round"
          style={{ transition: "all 0.5s" }}
        />
      </Svg>
     
    </View>
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda