local PortraitTopLeft = self:CreateTexture(nil, "BACKGROUND")
PortraitTopLeft:SetTexture(frameborder)
PortraitTopLeft:SetTexCoord(0, 1/3, 0, 2/3)
PortraitTopLeft:SetPoint("TOPLEFT", self.Portrait, -6, 6)
PortraitTopLeft:SetWidth(16) PortraitTopLeft:SetHeight(32)
PortraitTopLeft:SetVertexColor(color_rb,color_gb,color_bb)
PortraitTopLeft:SetDrawLayer("BACKGROUND")
local PortraitTopRight = self:CreateTexture(nil, "BACKGROUND")
PortraitTopRight:SetTexture(frameborder)
PortraitTopRight:SetTexCoord(2/3, 1, 0, 1/3)
PortraitTopRight:SetPoint("TOPRIGHT", self.Portrait, 6, 6)
PortraitTopRight:SetWidth(16) PortraitTopRight:SetHeight(16)
PortraitTopRight:SetVertexColor(color_rb,color_gb,color_bb)
PortraitTopRight:SetDrawLayer("BACKGROUND")
local PortraitBottomLeft = self:CreateTexture(nil, "BACKGROUND")
PortraitBottomLeft:SetTexture(frameborder)
PortraitBottomLeft:SetTexCoord(0, 1/3, 1/2, 1)
PortraitBottomLeft:SetPoint("BOTTOMLEFT", self.Portrait, -6, -6)
PortraitBottomLeft:SetWidth(16) PortraitBottomLeft:SetHeight(23.5)
PortraitBottomLeft:SetVertexColor(color_rb,color_gb,color_bb)
PortraitBottomLeft:SetDrawLayer("BACKGROUND")
local PortraitBottomRight = self:CreateTexture(nil, "BACKGROUND")
PortraitBottomRight:SetTexture(frameborder)
PortraitBottomRight:SetTexCoord(2/3, 1, 2/3, 1)
PortraitBottomRight:SetPoint("BOTTOMRIGHT", self.Portrait, 6, -6)
PortraitBottomRight:SetWidth(16) PortraitBottomRight:SetHeight(16)
PortraitBottomRight:SetVertexColor(color_rb,color_gb,color_bb)
PortraitBottomRight:SetDrawLayer("BACKGROUND")
local PortraitTopEdge = self:CreateTexture(nil, "BACKGROUND")
PortraitTopEdge:SetTexture(frameborder)
PortraitTopEdge:SetTexCoord(1/3, 2/3, 0, 1/3)
PortraitTopEdge:SetPoint("TOPLEFT", PortraitTopLeft, "TOPRIGHT")
PortraitTopEdge:SetPoint("TOPRIGHT", PortraitTopRight, "TOPLEFT")
PortraitTopEdge:SetHeight(16)
PortraitTopEdge:SetVertexColor(color_rb,color_gb,color_bb)
PortraitTopEdge:SetDrawLayer("BACKGROUND")
local PortraitBottomEdge = self:CreateTexture(nil, "BACKGROUND")
PortraitBottomEdge:SetTexture(frameborder)
PortraitBottomEdge:SetTexCoord(1/3, 2/3, 2/3, 1)
PortraitBottomEdge:SetPoint("BOTTOMLEFT", PortraitBottomLeft, "BOTTOMRIGHT")
PortraitBottomEdge:SetPoint("BOTTOMRIGHT", PortraitBottomRight, "BOTTOMLEFT")
PortraitBottomEdge:SetHeight(16)
PortraitBottomEdge:SetVertexColor(color_rb,color_gb,color_bb)
PortraitBottomEdge:SetDrawLayer("BACKGROUND")
local PortraitLeftEdge = self:CreateTexture(nil, "BACKGROUND")
PortraitLeftEdge:SetTexture(frameborder)
PortraitLeftEdge:SetTexCoord(0, 1/3, 1/3, 2/3)
PortraitLeftEdge:SetPoint("TOPLEFT", PortraitTopLeft, "BOTTOMLEFT")
PortraitLeftEdge:SetPoint("BOTTOMLEFT", PortraitBottomLeft, "TOPLEFT")
PortraitLeftEdge:SetWidth(16)
PortraitLeftEdge:SetVertexColor(color_rb,color_gb,color_bb)
PortraitLeftEdge:SetDrawLayer("BACKGROUND")
local PortraitRightEdge = self:CreateTexture(nil, "BACKGROUND")
PortraitRightEdge:SetTexture(frameborder)
PortraitRightEdge:SetTexCoord(2/3, 1, 1/3, 2/3)
PortraitRightEdge:SetPoint("TOPRIGHT", PortraitTopRight, "BOTTOMRIGHT")
PortraitRightEdge:SetPoint("BOTTOMRIGHT", PortraitBottomRight, "TOPRIGHT")
PortraitRightEdge:SetWidth(16)
PortraitRightEdge:SetVertexColor(color_rb,color_gb,color_bb)
PortraitRightEdge:SetDrawLayer("BACKGROUND")